reload systemd after installing/deleting service files
This commit is contained in:
parent
6b70f2e454
commit
bfb81f635a
1
debian/taler-exchange.install
vendored
1
debian/taler-exchange.install
vendored
@ -1,3 +1,2 @@
|
|||||||
etc/taler.conf
|
etc/taler.conf
|
||||||
usr/bin/
|
usr/bin/
|
||||||
usr/lib/*/taler/
|
|
||||||
|
2
debian/taler-exchange.postinst
vendored
2
debian/taler-exchange.postinst
vendored
@ -174,6 +174,8 @@ Restart=on-failure
|
|||||||
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler.conf
|
ExecStart=/usr/bin/taler-exchange-aggregator -c /etc/taler.conf
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
|
cp -f "${CONFIG_NEW}" "${CONFIG_FILE}"
|
||||||
echo " done."
|
echo " done."
|
||||||
|
|
||||||
|
6
debian/taler-exchange.postrm
vendored
6
debian/taler-exchange.postrm
vendored
@ -65,6 +65,12 @@ case "${1}" in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf /var/log/taler/ /var/lib/taler /etc/default/taler
|
rm -rf /var/log/taler/ /var/lib/taler /etc/default/taler
|
||||||
|
for X in httpd helper-rsa helper-eddsa wirewatch transfer
|
||||||
|
do
|
||||||
|
rm -f /etc/systemd/system/taler-exchange-${X}.service
|
||||||
|
done
|
||||||
|
systemctl daemon-reload
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||||
|
Loading…
Reference in New Issue
Block a user