Add systemd scripts for cron tasks
This commit is contained in:
parent
c47091b944
commit
78e50ac855
10
debian/liblemonldap-ng-handler-perl.service
vendored
Normal file
10
debian/liblemonldap-ng-handler-perl.service
vendored
Normal 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
|
10
debian/liblemonldap-ng-portal-perl.service
vendored
Normal file
10
debian/liblemonldap-ng-portal-perl.service
vendored
Normal 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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user