diff options
author | genofire | 2020-09-21 09:44:10 +0200 |
---|---|---|
committer | genofire | 2020-09-21 09:44:10 +0200 |
commit | b4dfe84dbbda4a2ce46d3ff263a266aadede7475 (patch) | |
tree | 3f3656aaa28afb9ef70911e7f9ed55ab8e402a38 /zsnapd.install | |
download | aur-b4dfe84dbbda4a2ce46d3ff263a266aadede7475.tar.gz |
Init
Diffstat (limited to 'zsnapd.install')
-rw-r--r-- | zsnapd.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/zsnapd.install b/zsnapd.install new file mode 100644 index 000000000000..f1dc1a978a83 --- /dev/null +++ b/zsnapd.install @@ -0,0 +1,16 @@ +post_install() { + systemctl daemon-reload +} + +post_upgrade() { + systemctl daemon-reload + systemctl restart zsnapd +} + +pre_remove() { + systemctl disable zsnapd +} + +post_remove() { + systemctl daemon-reload +} |