Spotter-VM/openmapkit/lib/systemd/system/openmapkit.service

16 lines
312 B
SYSTEMD
Raw Normal View History

[Unit]
Description=OpenMapKit Server
After=network.target
[Service]
Type=simple
User=omk
Environment=NODE_ENV=production
Environment=VIRTUAL_ENV=/srv/omk
Environment=PATH=/srv/omk/bin:/usr/local/bin:/usr/bin:/bin
WorkingDirectory=/srv/omk
ExecStart=/usr/bin/node server.js
[Install]
WantedBy=multi-user.target