diff options
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 +} |