Skip to content

Commit

Permalink
Kill dnscollector service using SIGHUP
Browse files Browse the repository at this point in the history
  • Loading branch information
4quarks committed May 30, 2024
1 parent 70098a8 commit ac0919f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/configuration/dnscollector/dnscollector.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ After=network.target

[Service]
ExecStart=/usr/bin/go-dnscollector -config /etc/dnscollector/config.yml
ExecReload=/bin/kill -HUP $MAINPID
ExecReload=/bin/kill -SIGHUP $MAINPID
KillMode=process
Restart=on-failure
User=dnscollector
Expand Down

0 comments on commit ac0919f

Please sign in to comment.