conoha-ddns/initscript/systemd/ddns.service
2017-03-14 16:23:21 +09:00

12 lines
217 B
Desktop File

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