diff options
author | Julien Freyermuth | 2016-08-13 11:36:43 +0200 |
---|---|---|
committer | Julien Freyermuth | 2016-08-13 11:36:43 +0200 |
commit | a4aed7e2271fabcbb84cbfd019dbf6a65a038be2 (patch) | |
tree | dde31e0e85cdff8e7db472756c0e431274339622 /pingormail.install | |
parent | f52ad7f54cd52df3525ceb422d05ec76f083facd (diff) | |
download | aur-a4aed7e2271fabcbb84cbfd019dbf6a65a038be2.tar.gz |
Some changes. Have daemon mode
Diffstat (limited to 'pingormail.install')
-rw-r--r-- | pingormail.install | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pingormail.install b/pingormail.install index e5ad089fa3f1..6711dd38d42f 100644 --- a/pingormail.install +++ b/pingormail.install @@ -8,9 +8,9 @@ post_install() { # Reload systemctl systemctl daemon-reload - echo "Adding pingormail in systemctl:" - echo " systemctl enable pingormail.timer" - echo " systemctl start pingormail.timer" + echo "Adding pingormail in systemctl if you want always use it:" + echo " systemctl enable pingormail" + echo " systemctl start pingormail" true } @@ -19,18 +19,15 @@ post_upgrade() { # Reload systemctl systemctl daemon-reload - #echo "You should restart pingormail.timer" - #echo " systemctl restart pingormail.timer" - true } pre_remove() { pkgname=pingormail # Remove symlink in systemd - systemctl disable "$pkgname".timer + systemctl disable "$pkgname" # Stop server - systemctl stop "$pkgname".timer + systemctl stop "$pkgname" # Reload systemctl systemctl daemon-reload |