init
This commit is contained in:
17
systemd/backend-ivf.service
Normal file
17
systemd/backend-ivf.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=IVF Service
|
||||
Wants = network-online.target systemd-networkd-wait-online.service
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/ivf/project/backend/
|
||||
EnvironmentFile=/home/ivf/project/backend/env
|
||||
ExecStart=/home/ivf/project/backend/server
|
||||
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
StandardOutput = syslog
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user