conoha-ddns/initscript/systemd/ddns.service
2017-03-13 22:46:12 +08:00

12 lines
202 B
Desktop File

[Unit]
Description=NodeJS ConoHa DNS API
After=network.target
[Service]
ExecStart=node /home/ddns/app.js
Restart=always
User=root
Environment="NODE_ENV=production"
[Install]
WantedBy=multi-user.target