mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-07-07 05:34:08 +00:00
14 lines
345 B
Bash
14 lines
345 B
Bash
#!/bin/sh
|
|
|
|
post_install() {
|
|
|
|
if systemctl | grep -Fq 'mus-fuse'; then
|
|
sudo systemctl stop mus-fuse.service
|
|
fi
|
|
|
|
sudo useradd --system --user-group --no-create-home --home-dir /run/mus-fuse mus-fuse
|
|
mkdir -p /srv/mus-fuse
|
|
chown mus-fuse:mus-fuse /srv/mus-fuse
|
|
echo ":: You need to uncomment 'user_allow_other' in /etc/fuse.conf"
|
|
}
|