e-smith-tinydns/root/usr/lib/systemd/system/tinydns.service

16 lines
331 B
SYSTEMD
Raw Normal View History

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