notebrook-notes/etc/systemd/backend.service

15 lines
278 B
INI
Raw Permalink Normal View History

2024-08-26 17:15:20 +00:00
[Unit]
Description=backend Service
After=network.target
[Service]
User=notebrook
WorkingDirectory=/home/notebrook/backend
ExecStart=/usr/bin/npm start
Restart=always
Environment=PATH=/usr/bin:/usr/local/bin
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target