homepage/contrib/minecraft-homepage.service

15 lines
422 B
SYSTEMD
Raw Permalink Normal View History

2021-11-18 18:34:24 +01:00
[Unit]
Description=Service to serve play.geekify.de
After=network.target
[Service]
Type=simple
User=minecraft
WorkingDirectory=/opt/minecraft/webui/play.geekify.de/homepage
Environment=PYTHONPATH=/opt/minecraft/webui/play.geekify.de/homepage/venv
ExecStart=/opt/minecraft/webui/play.geekify.de/venv/bin/python /opt/minecraft/webui/play.geekify.de/homepage/main.py
Restart=on-failure
[Install]
WantedBy=multi-user.target