add pid and start flag for gui, add systemd service file and .desktop file with new setup.sh
This commit is contained in:
7
data/controldeck.desktop
Normal file
7
data/controldeck.desktop
Normal file
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=ControlDeck
|
||||
Exec=${HOME}/.local/bin/controldeck-gui
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=controldeck
|
||||
12
data/controldeck.service
Normal file
12
data/controldeck.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=ControlDeck
|
||||
|
||||
[Service]
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=%h/.local/bin/controldeck
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
StandardOutput=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user