mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-07-07 05:34:08 +00:00
Update CI
This commit is contained in:
10
debian/preinst
vendored
Executable file
10
debian/preinst
vendored
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if systemctl | grep -Fq 'mus-fuse'; then
|
||||
sudo systemctl stop mus-fuse.service
|
||||
fi
|
||||
|
||||
adduser --quiet --system --group --no-create-home --home /run/mus-fuse mus-fuse
|
||||
mkdir -p /srv/mus-fuse
|
||||
chown mus-fuse:mus-fuse /srv/mus-fuse
|
||||
|
Reference in New Issue
Block a user