Last active
December 26, 2024 19:29
-
-
Save mblankleder/3c5fe8dd2996fa172fb9fe93dc8bfb9c to your computer and use it in GitHub Desktop.
Hamclock systemd autostart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo vi /lib/systemd/system/hamclock.service | |
| [Unit] | |
| Description=Hamclock Autostart | |
| [Service] | |
| Type=simple | |
| # User=root for other Linux systems | |
| User=pi | |
| ExecStart=/usr/local/bin/hamclock -t 10 -n 30 | |
| [Install] | |
| WantedBy=multi-user.target | |
| # sudo systemctl daemon-reload | |
| # sudo systemctl enable hamclock | |
| # sudo systemctl start hamclock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment