ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

commit 00e4c7cce8ae1140480c8c2b524ef23b7f0112b9
parent 5dc85dc7c2588f8da46b46cd4ab8ff087e8712c1
Author: rexxnor <rexxnor+gnunet@brief.li>
Date:   Fri, 10 May 2019 15:25:34 +0200

switched from systemctl to deb-systemd-invoke

Diffstat:
Mhelpers/python3-ascension.postinst | 6+++---
Mhelpers/python3-ascension.prerm | 6+++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/helpers/python3-ascension.postinst b/helpers/python3-ascension.postinst @@ -36,11 +36,11 @@ EOF # link the systemd unit file ln -sf "/etc/ascension.d/gnunet-ascension.service" "/lib/systemd/system/gnunet-ascension.service" -systemctl daemon-reload +deb-systemd-invoke daemon-reload # start and enable service -systemctl start gnunet-ascension -systemctl enable gnunet-ascension +deb-systemd-invoke start gnunet-ascension +deb-systemd-invoke enable gnunet-ascension exit 0 #DEBHELPER# diff --git a/helpers/python3-ascension.prerm b/helpers/python3-ascension.prerm @@ -8,15 +8,15 @@ set -e mkdir -p /etc/ascension.d/ # remove systemd stuff -systemctl disable gnunet-ascension -systemctl stop gnunet-ascension +deb-systemd-invoke disable gnunet-ascension +deb-systemd-invoke stop gnunet-ascension # remove the systemd files unlink /lib/systemd/system/gnunet-ascension.service rm /etc/ascension.d/gnunet-ascension.service # link the systemd unit file -systemctl daemon-reload +deb-systemd-invoke daemon-reload exit 0 #DEBHELPER#