kill-the-newsletter/deployment-example/kill-the-newsletter.service

13 lines
266 B
SYSTEMD
Raw Normal View History

2021-03-14 00:36:06 +01:00
[Unit]
2021-03-14 00:47:28 +01:00
Description=Kill the Newsletter!
2021-03-14 00:36:06 +01:00
After=network.target
[Service]
2021-03-14 00:47:28 +01:00
ExecStart=/root/kill-the-newsletter/kill-the-newsletter /root/kill-the-newsletter/configuration.js
2021-03-14 00:36:06 +01:00
Environment=NODE_ENV=production
User=root
Restart=always
[Install]
WantedBy=multi-user.target