mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-12-26 16:31:53 +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
|