Add systemd unit
parent
6de1109854
commit
63a7cc1603
@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Dynamic DNS for OpenNebula
|
||||
Wants=local-fs.target network.target opennebula.service
|
||||
After=local-fs.target network.target opennebula.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/
|
||||
Environment=HOME=/var/lib/one
|
||||
ExecStart=/usr/local/bin/onedns --domain=one.local --one-secret= daemon --dns-port=53
|
||||
KillMode=process
|
||||
Restart=always
|
||||
StartLimitInterval=3
|
||||
StartLimitIntervalSec=3
|
||||
PrivateTmp=true
|
||||
StandardOutput=syslog
|
Loading…
Reference in New Issue