Skip to content

Commit

Permalink
unbound: Add systemd service unit
Browse files Browse the repository at this point in the history
    $ ls -l --full-time /etc/systemd/system/unbound.service
    -rw-r--r-- 1 root root 232 2014-12-18 14:49:19.000000000 +0100 /etc/systemd/system/unbound.service
  • Loading branch information
pmenzel committed Jan 30, 2019
1 parent 06cc6db commit dfb2736
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions unbound/unbound.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
After=network.service gateway.service mxmount.service

[Service]
Type=forking
ExecStartPre=-/usr/sbin/unbound-startup setup-var
ExecStart=/usr/sbin/unbound
PIDFile=/var/unbound/unbound.pid

[Install]
WantedBy=network.target

0 comments on commit dfb2736

Please sign in to comment.