✨ feat(systemd): surfing-keys configuration service
This commit is contained in:
parent
65c23c5492
commit
3602351fac
1 changed files with 0 additions and 8 deletions
|
@ -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:
|
|
Loading…
Add table
Reference in a new issue