Add systemd files for the postbots.

This commit is contained in:
Feufochmar 2022-05-18 12:12:16 +02:00
parent cd770629da
commit 3ee8d4c141
8 changed files with 81 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,10 @@
[Unit]
Description=ArnYtron3000 Poster - Timer
[Timer]
Persistent=false
OnCalendar=*-*-* 6:00:00
Unit=arnytron3000-poster.service
[Install]
WantedBy=timers.target

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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