diff options
author | Benjamin Cremer | 2015-06-11 11:41:01 +0200 |
---|---|---|
committer | Benjamin Cremer | 2015-06-11 11:41:01 +0200 |
commit | bcee1ea674c89cdab9671c7101d5f71a28b5a705 (patch) | |
tree | 16032ebfb45e25ceb3e0269f61467b62511cb15e /tideways-daemon.install | |
download | aur-bcee1ea674c89cdab9671c7101d5f71a28b5a705.tar.gz |
Initial import / Version 1.2.4
Diffstat (limited to 'tideways-daemon.install')
-rw-r--r-- | tideways-daemon.install | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tideways-daemon.install b/tideways-daemon.install new file mode 100644 index 000000000000..3e94e84b5453 --- /dev/null +++ b/tideways-daemon.install @@ -0,0 +1,18 @@ +post_install() { + systemd-sysusers tideways-daemon.conf + systemd-tmpfiles --create tideways-daemon.conf +} + +post_upgrade() { + post_install +} + +post_remove() { + if getent passwd tideways >/dev/null 2>&1; then + userdel tideways + fi + + if getent group tideways >/dev/null 2>&1; then + groupdel tideways + fi +} |