Colubrina/colubrina.service

17 lines
354 B
SYSTEMD
Raw Permalink Normal View History

2022-07-29 20:34:27 +10:00
[Unit]
Description=Colubrina
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=colubrina
Group=colubrina
WorkingDirectory=/home/colubrina/colubrina/backend
ExecStart=node /home/colubrina/colubrina/backend/index.js
Restart=always
EnvironmentFile=/home/colubrina/colubrina/backend/.env
[Install]
WantedBy=multi-user.target