CreatBotKlipperScreen/scripts/KlipperScreen.service
xcasxcursex 2fd5e6e89f Enable users to inject a custom script to start KlipperScreen (#660)
A helper script is included to ease migration
for the common Android XSDL use-case
2022-07-03 12:03:50 -03:00

17 lines
317 B
Desktop File

[Unit]
Description=KlipperScreen
After=moonraker.service
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=KS_USER
WorkingDirectory=KS_DIR
Environment="KS_XCLIENT=KS_ENV/bin/python KS_DIR/screen.py"
ExecStart="KS_DIR/scripts/KlipperScreen-start.sh"
[Install]
WantedBy=multi-user.target