diff options
author | Ralph Alexander Bariz | 2017-04-15 20:59:05 +0200 |
---|---|---|
committer | Ralph Alexander Bariz | 2017-04-15 20:59:05 +0200 |
commit | 1eb3b889c4d32c2c452a93241393dc1b8836357b (patch) | |
tree | 3b503e82fb367074a2aea168f4a9470c30f8b586 | |
parent | 770c7517deb216e7dbc335e41762bd579b2ff971 (diff) | |
download | aur-1eb3b889c4d32c2c452a93241393dc1b8836357b.tar.gz |
added systemd actions pre_remove
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | pkg.install | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Maintainer: Your Name ralph.bariz@gmail.com pkgname=flow-causal pkgver=0.1.0 -pkgrel=2 +pkgrel=3 epoch=0 pkgdesc="flow causal studio" arch=('i685' 'x86_64') diff --git a/pkg.install b/pkg.install index 4edccfaacfaf..a3ff8e97cbe5 100644 --- a/pkg.install +++ b/pkg.install @@ -3,6 +3,12 @@ post_install() { chown -R flow:flow /home/flow } +post_upgrade() { + systemctl restart flow-causal +} + pre_remove() { + systemctl stop flow-causal + systemctl disable flow-causal userdel flow } |