Last active
June 11, 2022 20:24
-
-
Save smartass08/7b9b0da510e4c603e6f849f3367b3cea to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=Your service description | |
[Service] | |
Restart=always | |
WorkingDirectory=/home/user/to/path | |
ExecStartPre=/usr/bin/whatever/app command to execute before actual command | |
ExecStart=/usr/bin/whatever/app main command | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo loginctl enable-linger $USER