Created
December 27, 2019 23:29
-
-
Save cstrouse/9f355846cabdba9fe4375c091b8df56b to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=Example | |
Wants=example.timer | |
[Service] | |
ExecStart=/usr/bin/node /home/casey/Projects/example/index.js | |
WorkingDirectory=/home/casey/Projects/example | |
[Install] | |
WantedBy=multi-user.target |
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
[Unit] | |
Description=Run example service daily | |
Requires=example.service | |
[Timer] | |
Unit=example.service | |
OnCalendar=Mon..Fri 9:00 | |
[Install] | |
WantedBy=timers.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment