]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
packaging: systemd service Type=notify did not work with supervisord
authorVasek Sraier <git@vakabus.cz>
Tue, 12 Jul 2022 10:56:03 +0000 (12:56 +0200)
committerVasek Sraier <git@vakabus.cz>
Sun, 31 Jul 2022 15:26:39 +0000 (17:26 +0200)
manager/knot-resolver.service

index 42f90a02bb0cdf9d2a1ae728beb4e1466fbef0a5..9abbfba58696a2d116e052207ac160fddb64d47e 100644 (file)
@@ -1,14 +1,11 @@
 [Unit]
 Description=Knot Resolver Manager
-Requires=dbus.service
-After=dbus.service
 
 [Service]
-Type=notify
 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=/usr/bin/env kill -HUP $MAINPID
+ExecReload=/usr/bin/env kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target
\ No newline at end of file