21 lines
487 B
Desktop File
21 lines
487 B
Desktop File
[Unit]
|
|
Description=SDM630 stats printout
|
|
Conflicts=getty@tty1.service
|
|
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
|
|
|
|
[Service]
|
|
User=sdm630_mqtt
|
|
Group=sdm630_mqtt
|
|
ExecStart=/opt/sdm630_mqtt/venv/bin/python printout.py /opt/sdm630_mqtt/config.toml
|
|
WorkingDirectory=/opt/sdm630_mqtt/src
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardInput=tty
|
|
StandardOutput=tty
|
|
StandardError=journal
|
|
TTYPath=/dev/tty1
|
|
TTYReset=yes
|
|
TTYVHangup=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|