This commit is contained in:
ivf
2023-06-16 19:00:35 +07:00
parent 71df048ff0
commit b1e3b40c16
4 changed files with 193 additions and 0 deletions

View 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