Created
November 7, 2021 16:18
-
-
Save slashtechno/9774bb2abe63cdf6716cc8802fa384ff to your computer and use it in GitHub Desktop.
Simple Systemd Script
This file contains 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
# How to create systemd services: http://neilwebber.com/notes/2016/02/10/making-a-simple-systemd-file-for-raspberry-pi-jessie/ | |
[Unit] | |
Description= Hello, world! | |
[Service] | |
User= <put user here> | |
WorkingDirectory=<put directory the command should be run in> | |
ExecStart=<path to command> | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment