diff options
author | Arthur Vuillard | 2016-11-13 22:19:12 +0100 |
---|---|---|
committer | Arthur Vuillard | 2016-11-13 22:19:12 +0100 |
commit | 0b708ec4335360ece034d7123c4ccb46c743223a (patch) | |
tree | ea59048aaea4de0da1ae5a8ccd9c97cc61ce04e5 /watchghost.install | |
parent | 6d9fa3a8a6e9082f15117230aae55db75000ce08 (diff) | |
download | aur-0b708ec4335360ece034d7123c4ccb46c743223a.tar.gz |
backup epoc and restart
Diffstat (limited to 'watchghost.install')
-rw-r--r-- | watchghost.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/watchghost.install b/watchghost.install index f03d211ce3d3..fce554dae603 100644 --- a/watchghost.install +++ b/watchghost.install @@ -6,6 +6,11 @@ post_install() { post_upgrade() { systemd-sysusers watchghost.conf systemctl daemon-reload + systemctl is-active watchghost + active=$? + if [ $active -eq 0 ] ; then + systemctl restart watchghost + fi } pre_remove() { |