Major usability improvements. Add config, DEB make, systemd unit, arg and flags parser.

This commit is contained in:
Alexandr Bogomyakov
2020-04-26 03:17:03 +03:00
parent 9d8c079a36
commit 416d50fd89
8 changed files with 217 additions and 75 deletions

10
assets/preinst 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