Initial Push
This commit is contained in:
20
systemd/streamdeck-go-helper.service
Normal file
20
systemd/streamdeck-go-helper.service
Normal file
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Stream Deck privileged command helper
|
||||
Documentation=https://github.com/WoodardDigital/streamdeck-go
|
||||
# Start before the user session so the socket is ready when streamdeck-go starts.
|
||||
Before=graphical.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/streamdeck-helper
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
||||
# Run as root (required to execute privileged commands).
|
||||
# The socket is group-restricted to the 'streamdeck' group — only
|
||||
# members of that group can connect.
|
||||
RuntimeDirectory=streamdeck-go
|
||||
RuntimeDirectoryMode=0755
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
16
systemd/streamdeck-go.service
Normal file
16
systemd/streamdeck-go.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Stream Deck controller
|
||||
Documentation=https://github.com/WoodardDigital/streamdeck-go
|
||||
After=graphical-session.target
|
||||
PartOf=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/.local/bin/streamdeck-go
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
# Config is auto-discovered at ~/.config/streamdeck-go/config.yaml
|
||||
# Override with: ExecStart=%h/.local/bin/streamdeck-go -config /path/to/config.yaml
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
Reference in New Issue
Block a user