Files
mus-fuse/.github/workflows/mus-fuse.install
2020-04-26 16:19:14 +03:00

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"
}