smeserver-dnscache/root/usr/lib/systemd/system/dnscache.service

16 lines
336 B
Desktop File

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