Files
Button/webconfig/buttontask.service
T

26 lines
772 B
Desktop File

[Unit]
Description=ButtonTask Qt5 UI
After=NetworkManager.service
Wants=NetworkManager.service
[Service]
Type=simple
User=buttontask
Group=buttontask
SupplementaryGroups=video render input audio
WorkingDirectory=/opt/buttontask/current
Environment=BUTTONTASK_ROOT=/opt/buttontask
Environment=BUTTONTASK_CONFIG=/opt/buttontask/config/config.json
Environment=QT_QPA_PLATFORM=eglfs
Environment=QT_QPA_EGLFS_INTEGRATION=eglfs_kms
Environment=QT_QPA_EGLFS_HIDECURSOR=1
Environment=XDG_RUNTIME_DIR=/tmp/runtime-buttontask
Environment=JACK_NO_START_SERVER=1
Environment=PULSE_RUNTIME_PATH=/tmp/runtime-buttontask/pulse
ExecStart=/opt/buttontask/current/ButtonTask --config /opt/buttontask/config/config.json
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target