Difference between revisions of "Phpsessionclean.service (systemd service)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[systemctl cat]] phpsessionclean | [[systemctl cat]] phpsessionclean | ||
− | + | ||
# /lib/systemd/system/phpsessionclean.service | # /lib/systemd/system/phpsessionclean.service | ||
[Unit] | [Unit] | ||
Description=Clean php session files | Description=Clean php session files | ||
− | + | ||
[Service] | [Service] | ||
− | Type=oneshot | + | Type=[[oneshot]] |
ExecStart=/usr/lib/php/[[sessionclean]] | ExecStart=/usr/lib/php/[[sessionclean]] | ||
ProtectHome=true | ProtectHome=true | ||
ProtectSystem=true | ProtectSystem=true | ||
PrivateTmp=true | PrivateTmp=true | ||
− | |||
== Activities == | == Activities == |
Revision as of 15:14, 15 November 2020
systemctl cat phpsessionclean
# /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
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: