Skip to content

Commit

Permalink
Create dnscollector.service
Browse files Browse the repository at this point in the history
  • Loading branch information
4quarks authored May 23, 2024
1 parent 6c6023d commit 0eadd93
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions files/configuration/dnscollector/dnscollector.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[Unit]
Description=Go DNS Collector Service
After=network.target

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

[Install]
WantedBy=multi-user.target

0 comments on commit 0eadd93

Please sign in to comment.