SpiriBase-Deploy/webapp.service

15 lines
320 B
Desktop File

[Unit]
Description=Spiri Base Node.js Application
After=network.target
[Service]
ExecStart=/usr/bin/node /home/spiri/Spiri-Base/.output/server/index.mjs
WorkingDirectory=/home/spiri/Spiri-Base
Restart=always
User=root
Group=spiri
Environment=NODE_ENV=production
Environment=PORT=80
[Install]
WantedBy=multi-user.target