php-defaults/debian/phpsessionclean.service
Daniel Schaal 87f0c9270d Add support for systemd timers for phpsessionclean
* Add systemd timer and service for phpsessionclean
* Add check to run phphsessionclean from cron only
  when not using systemd
2016-12-31 14:51:11 +01:00

12 lines
195 B
Desktop File

[Unit]
Description=Clean php session files
[Service]
Type=oneshot
ExecStart=/usr/lib/php/sessionclean
ProtectHome=true
ProtectSystem=true
PrivateTmp=true
PrivateDevices=true
PrivateNetwork=true