Add systemd scripts for cron tasks

This commit is contained in:
Xavier Guimard 2019-05-20 10:23:18 +02:00
parent c47091b944
commit 78e50ac855
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=Cron job for Lemonldap::NG handler
After=network.target
[Service]
User=www-data
ExecStart=/usr/share/lemonldap-ng/bin/purgeLocalCache
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Cron job for Lemonldap::NG portal
After=network.target
[Service]
User=www-data
ExecStart=/usr/share/lemonldap-ng/bin/purgeCentralCache
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Cron job for Lemonldap::NG handler
After=network.target
[Service]
User=www-data
ExecStart=/usr/share/lemonldap-ng/bin/purgeLocalCache
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Cron job for Lemonldap::NG portal
After=network.target
[Service]
User=www-data
ExecStart=/usr/share/lemonldap-ng/bin/purgeCentralCache
[Install]
WantedBy=multi-user.target