swaf-boilerplate/app.service

17 lines
272 B
SYSTEMD
Raw Normal View History

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