diff options
author | Joshua Hull <josh@fireflop.com> | 2023-01-15 10:49:21 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2023-01-27 11:19:24 +0100 |
commit | 50d0af489296a42f8773066ffc37265dab1d5b0a (patch) | |
tree | 239da772f1c500721f35ea2a8b2a8af88269dbda /roles/sky/files/update-homepage.timer | |
parent | 0562d72eaafaedf0f10414e0b42fa92d248c60f3 (diff) | |
download | labitat-ansible-50d0af489296a42f8773066ffc37265dab1d5b0a.tar.gz labitat-ansible-50d0af489296a42f8773066ffc37265dab1d5b0a.tar.xz labitat-ansible-50d0af489296a42f8773066ffc37265dab1d5b0a.zip |
sky: homepage: set up the frontpage of labitat.dk
esmil:
- use timer to update the homepage
- git clone/update and install gems as the homepage user
Diffstat (limited to 'roles/sky/files/update-homepage.timer')
-rw-r--r-- | roles/sky/files/update-homepage.timer | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/sky/files/update-homepage.timer b/roles/sky/files/update-homepage.timer new file mode 100644 index 0000000..34a6a57 --- /dev/null +++ b/roles/sky/files/update-homepage.timer @@ -0,0 +1,12 @@ +[Unit] +Description=Update homepage every minute + +[Timer] +Unit=update-homepage.service +OnBootSec=1min +OnUnitActiveSec=1min +AccuracySec=1min +Persistent=no + +[Install] +WantedBy=timers.target |