e-smith-dnscache/root/usr/lib/systemd/system/dnscache.forwarder.service

16 lines
386 B
Desktop File

[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