14 lines
422 B
Desktop File
14 lines
422 B
Desktop File
[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
|