mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-11-23 03:36:42 +11:00
17 lines
354 B
SYSTEMD
17 lines
354 B
SYSTEMD
|
[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
|