rainbox.email/app.service

18 lines
330 B
SYSTEMD
Raw Normal View History

2020-06-14 21:51:26 +02:00
[Unit]
Description=Rainbox Email website
2020-06-14 21:51:26 +02:00
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=rainbox-email
Group=rainbox-email
WorkingDirectory=/home/rainbox-email/live
2020-06-14 21:51:26 +02:00
Restart=on-success
Environment=NODE_ENV=production
ExecStart=/bin/node .
ProtectSystem=yes
2020-06-14 21:51:26 +02:00
[Install]
WantedBy=multi-user.target