Difference between revisions of "Phpsessionclean.service (systemd service)"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
[Service] | [Service] | ||
− | Type=[[oneshot]] | + | [[Type]]=[[oneshot]] |
[[ExecStart]]=[[/usr/lib/php/sessionclean]] | [[ExecStart]]=[[/usr/lib/php/sessionclean]] | ||
[[ProtectHome]]=true | [[ProtectHome]]=true |
Revision as of 14:42, 13 April 2021
Phpsessionclean is a systemd service in Ubuntu that executes /usr/lib/php/sessionclean
script to clean stale php sessions. It is run every 30 minutes by phpsessionclean.timer.
systemctl cat phpsessionclean
orcat /lib/systemd/system/phpsessionclean.service
[Unit] Description=Clean php session files [Service] Type=oneshot ExecStart=/usr/lib/php/sessionclean ProtectHome=true ProtectSystem=true PrivateTmp=true
Activities
- Execute
sessionclean
shell script to clean your PHP sessions
Related terms
sessionclean
shell scriptsystemd
:systemctl
cat
phpsessionclean.timer
See also
- PHP,
php-fpm, www.conf
,php -i
, PHP sessions, symfony,fastcgi_pass
,sessionclean (shell script)
,phpsessionclean.service (systemd service),phpquery
,php.ini
,/var/log/php*
, PECL,php --help
, PHPUnit, Laravel, PHP framework, Composer,phpbrew, Xdebug, php --version
, PHP Fatal error, Hello, World! (php)] - Systemd services:
systemctl
[status | is-active | start | daemon-reload | stop | mask
|reload
|restart
|reboot
|enable
|disable
|cat
],systemctl list-units
,systemctl list-timers
,systemctl --failed
,systemctl get-default
,systemctl --help
,.service, .timer, .socket
,systemctl restart elasticsearch.service
,systemctl status apt-daily
,systemctl status oscapd
Advertising: