mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
21 lines
497 B
Desktop File
21 lines
497 B
Desktop File
[Unit]
|
|
Description=Inner Square Chess (Phoenix)
|
|
After=network.target docker.service
|
|
Wants=network.target
|
|
ConditionPathExists=/opt/chesstrainer/current/bin/server
|
|
|
|
[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
|