Skip to content

Instantly share code, notes, and snippets.

@kodopik
Last active August 25, 2019 19:03
Show Gist options
  • Save kodopik/d53c82afb4295da6f8c438f35bf3c9b9 to your computer and use it in GitHub Desktop.
Save kodopik/d53c82afb4295da6f8c438f35bf3c9b9 to your computer and use it in GitHub Desktop.
Systemd timer for MX1100 mouse hack
[Unit]
Description=g_hack: Timer for g_hack.service
[Timer]
OnUnitActiveSec=60s
OnBootSec=60s
#Unit=g_hack.service
[Install]
#WantedBy=multi-user.target
WantedBy=timers.target
@kodopik
Copy link
Author

kodopik commented Aug 23, 2019

cd /lib/systemd/system

#sudo systemctl start g_hack
#sudo systemctl enable g_hack

sudo systemctl daemon-reload
systemctl start g_hack.timer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment