gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [ascension] branch master updated: switched from systemctl


From: gnunet
Subject: [GNUnet-SVN] [ascension] branch master updated: switched from systemctl to deb-systemd-invoke
Date: Fri, 10 May 2019 15:26:07 +0200

This is an automated email from the git hooks/post-receive script.

rexxnor pushed a commit to branch master
in repository ascension.

The following commit(s) were added to refs/heads/master by this push:
     new 00e4c7c  switched from systemctl to deb-systemd-invoke
00e4c7c is described below

commit 00e4c7cce8ae1140480c8c2b524ef23b7f0112b9
Author: rexxnor <address@hidden>
AuthorDate: Fri May 10 15:25:34 2019 +0200

    switched from systemctl to deb-systemd-invoke
---
 helpers/python3-ascension.postinst | 6 +++---
 helpers/python3-ascension.prerm    | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/helpers/python3-ascension.postinst 
b/helpers/python3-ascension.postinst
index 0921bcf..0f7d4e9 100644
--- 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
index e0dce86..c35f93a 100644
--- 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#

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]