feat(systemd): surfing-keys configuration service

This commit is contained in:
Sergio Laín 2024-08-19 18:06:11 +02:00
parent 65c23c5492
commit 3602351fac
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -1,8 +1,3 @@
# 1. Install this service to $XDG_CONFIG_HOME/systemd/user/
# 2. Update the path in the ExecStart directive
# 3. Run systemctl --user daemon-reload
# 4. Run systemctl --user enable --now surfingkeys-conf.service
[Unit] [Unit]
Description=Surfingkeys configuration server Description=Surfingkeys configuration server
After=network.target graphical-session.target After=network.target graphical-session.target
@ -10,7 +5,6 @@ PartOf=graphical-session.target
Requires=graphical-session.target Requires=graphical-session.target
[Service] [Service]
# Update the path in the following line to point to your surfingkeys-conf repository
ExecStart=bash -c 'cd /home/matt/repos/surfingkeys-conf; npm run gulp serve-simple' ExecStart=bash -c 'cd /home/matt/repos/surfingkeys-conf; npm run gulp serve-simple'
Type=simple Type=simple
Restart=always Restart=always
@ -18,5 +12,3 @@ RestartSec=10
[Install] [Install]
WantedBy=graphical-session.target WantedBy=graphical-session.target
# vim: set ft=systemd: