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

13 lines
266 B
SYSTEMD

[Unit]
Description=Kill the Newsletter!
After=network.target
[Service]
ExecStart=/root/kill-the-newsletter/kill-the-newsletter /root/kill-the-newsletter/configuration.js
Environment=NODE_ENV=production
User=root
Restart=always
[Install]
WantedBy=multi-user.target