]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager's service file: prefixed all commands with /usr/bin/env to ensure absolute...
authorVasek Sraier <git@vakabus.cz>
Thu, 21 Apr 2022 21:44:07 +0000 (23:44 +0200)
committerVasek Sraier <git@vakabus.cz>
Thu, 21 Apr 2022 21:44:07 +0000 (23:44 +0200)
manager/knot-resolver.service

index 14d43f65fb29e06cdb366a4c373737d3874e6110..42f90a02bb0cdf9d2a1ae728beb4e1466fbef0a5 100644 (file)
@@ -5,10 +5,10 @@ After=dbus.service
 
 [Service]
 Type=notify
-ExecStart=python3 -m knot_resolver_manager --config=/etc/knot-resolver/config.yml
+ExecStart=/usr/bin/env python3 -m knot_resolver_manager --config=/etc/knot-resolver/config.yml
 KillSignal=SIGINT
 # See systemd.service(5) for explanation, why we should replace this with a blocking request
-ExecReload=kill -HUP $MAINPID
+ExecReload=/usr/bin/env kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file