You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
381 B
14 lines
381 B
[Unit]
|
|
Description=RAM-Monitor auf dem Turing Smart Screen
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=%h/code/TuringSmartScreen
|
|
ExecStart=%h/code/TuringSmartScreen/.venv/bin/python -m ramscreen
|
|
Restart=always
|
|
RestartSec=5
|
|
# Exit-Status 2 = Konfigurationsfehler: nicht alle 5 s neu starten, sondern config.toml korrigieren
|
|
RestartPreventExitStatus=2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|