mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Inner Square Chess (Phoenix)
|
||||
After=network.target docker.service
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=chesstrainer
|
||||
Group=chesstrainer
|
||||
EnvironmentFile=/etc/chesstrainer/env
|
||||
WorkingDirectory=/opt/chesstrainer/current
|
||||
ExecStartPre=/opt/chesstrainer/current/bin/migrate
|
||||
ExecStart=/opt/chesstrainer/current/bin/server
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
SyslogIdentifier=chesstrainer
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user