Created
August 21, 2019 12:18
-
-
Save vmorris/a9cb0cbf3c910eb2acc4d3ac805553c8 to your computer and use it in GitHub Desktop.
systemd service template
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
[root@ThinkPad-W541 system]# systemctl start test@test1-2-3.service | |
[root@ThinkPad-W541 system]# journalctl -u test@test1-2-3.service | |
-- Logs begin at Mon 2019-08-19 03:59:36 EDT, end at Wed 2019-08-21 08:18:07 EDT. -- | |
Aug 21 08:18:07 ThinkPad-W541 systemd[1]: Started Buggy test1/2/3. | |
Aug 21 08:18:07 ThinkPad-W541 echo[19928]: test1/2/3 |
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=Buggy %I | |
[Service] | |
ExecStart=/bin/echo %I |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment