parent
							
								
									bd82022658
								
							
						
					
					
						commit
						3b5ebf4963
					
				@ -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,9 @@ | 
				
			||||
[Unit] | 
				
			||||
Description=Purge Lemonldap::NG handler cache every 30 minutes | 
				
			||||
 | 
				
			||||
[Timer] | 
				
			||||
OnCalendar=*-*-* *:17,47:00 | 
				
			||||
Persistent=true | 
				
			||||
 | 
				
			||||
[Install] | 
				
			||||
WantedBy=timers.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 | 
				
			||||
@ -0,0 +1,9 @@ | 
				
			||||
[Unit] | 
				
			||||
Description=Clean Lemonldap::NG sessions DB every 1h | 
				
			||||
 | 
				
			||||
[Timer] | 
				
			||||
OnCalendar=*-*-* *:07:07 | 
				
			||||
Persistent=true | 
				
			||||
 | 
				
			||||
[Install] | 
				
			||||
WantedBy=timers.target | 
				
			||||
					Loading…
					
					
				
		Reference in new issue