16 lines
386 B
SYSTEMD
16 lines
386 B
SYSTEMD
|
[Unit]
|
||
|
Description=dnscache.forwarder,
|
||
|
After=network.target
|
||
|
Requires=runit.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStartPre=/sbin/e-smith/service-status dnscache.forwarder
|
||
|
ExecStart=/usr/bin/sv u /service/dnscache.forwarder
|
||
|
ExecStop=/usr/bin/sv stop /service/dnscache.forwarder
|
||
|
ExecReload=/usr/bin/sv t /service/dnscache.forwarder
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sme-server.target
|