Add systemd files for the postbots.
This commit is contained in:
parent
cd770629da
commit
3ee8d4c141
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=ArnYtron3000 Poster
|
||||
|
||||
[Service]
|
||||
#User=http
|
||||
#Group=http
|
||||
WorkingDirectory=/opt/feuforeve.v4
|
||||
Type=oneshot
|
||||
# You should modify the configuration to change the keys and secrets
|
||||
ExecStart=/usr/bin/racket postbot/arnytron.rkt
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=ArnYtron3000 Poster - Timer
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnCalendar=*-*-* 6:00:00
|
||||
Unit=arnytron3000-poster.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Daily Island Poster
|
||||
|
||||
[Service]
|
||||
#User=http
|
||||
#Group=http
|
||||
WorkingDirectory=/opt/feuforeve.v4
|
||||
Type=oneshot
|
||||
# You should modify the configuration to change the keys and secrets
|
||||
ExecStart=/usr/bin/racket postbot/daily-island.rkt
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Daily Island (Poster) - Timer
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnCalendar=*-*-* 02,14:00:00
|
||||
Unit=daily-island-poster.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Daily Island Updater
|
||||
|
||||
[Service]
|
||||
#User=http
|
||||
#Group=http
|
||||
WorkingDirectory=/opt/feuforeve.v4
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/racket daily-island-updater.rkt
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Daily Island (Updater) - Timer
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnCalendar=*-*-* 23:00:00
|
||||
Unit=daily-island-updater.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Floraverse character generator Poster
|
||||
|
||||
[Service]
|
||||
#User=http
|
||||
#Group=http
|
||||
WorkingDirectory=/opt/feuforeve.v4
|
||||
Type=oneshot
|
||||
# You should modify the configuration to change the keys and secrets
|
||||
ExecStart=/usr/bin/racket postbot/floraverse.rkt
|
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Floraverse Character Generator Poster - Timer
|
||||
|
||||
[Timer]
|
||||
Persistent=false
|
||||
OnCalendar=*-*-* 01:00:00
|
||||
Unit=flora-character-generator-poster.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue