Update CI

This commit is contained in:
AB
2020-04-26 14:55:30 +03:00
parent cba858ba9c
commit 4b0fbcce84
8 changed files with 95 additions and 16 deletions

3
debian/postinst vendored Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
systemctl daemon-reload

10
debian/preinst vendored Executable file
View 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