conoha-ddns/initscript/systemd/ddns.service

12 lines
217 B
SYSTEMD
Raw Normal View History

2017-03-13 14:46:12 +00:00
[Unit]
Description=NodeJS ConoHa DNS API
After=network.target
[Service]
2017-03-14 07:23:21 +00:00
ExecStart=/usr/local/bin/node /home/ddns/app.js
2017-03-13 14:46:12 +00:00
Restart=always
User=root
Environment="NODE_ENV=production"
[Install]
WantedBy=multi-user.target