-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cron: switch splatoon{2,3}ink/update to systemd timer
- Loading branch information
1 parent
334de3c
commit e1e8ae1
Showing
6 changed files
with
38 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Run stat.ink splatoon2-ink/update | ||
After=paths.target multi-user.target network.target network-online.target NetworkManager.service | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/var/www/sites/stat.ink/app.dep/current/yii splatoon2-ink/update | ||
SyslogIdentifier=statink-update-s2ink | ||
WorkingDirectory=/var/www/sites/stat.ink/app.dep/current | ||
User=stat.ink | ||
Group=stat.ink |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Unit] | ||
Description=Run stat.ink splatoon2-ink/update (timer) | ||
|
||
[Timer] | ||
OnCalendar=*:04 | ||
|
||
[Install] | ||
WantedBy=timers.target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Run stat.ink splatoon3-ink/update | ||
After=paths.target multi-user.target network.target network-online.target NetworkManager.service | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/var/www/sites/stat.ink/app.dep/current/yii splatoon3-ink/update | ||
SyslogIdentifier=statink-update-s3ink | ||
WorkingDirectory=/var/www/sites/stat.ink/app.dep/current | ||
User=stat.ink | ||
Group=stat.ink |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Unit] | ||
Description=Run stat.ink splatoon3-ink/update (timer) | ||
|
||
[Timer] | ||
OnCalendar=*:02 | ||
|
||
[Install] | ||
WantedBy=timers.target |
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
This file was deleted.
Oops, something went wrong.