Created
August 14, 2022 08:33
-
-
Save rdeprera/7ae3046a4ca63035cc9a9f9df7ea84b4 to your computer and use it in GitHub Desktop.
PHPMyAdmin Service Unit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /lib/systemd/system/php8.1-fpm_phpmyadmin.service | |
# alterar: {DIR} | |
[Unit] | |
Description=PHPMyAdmin FPM Pool - Reinaldo Deprera | |
Documentation=man:php-fpm8.1(8) | |
After=network.target | |
[Service] | |
Type=notify | |
ExecStart=/usr/sbin/php-fpm8.1 -c /DIR/php.ini --nodaemonize --fpm-config /DIR/php-fpm_phpmyadmin.conf | |
ExecStartPost=-/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm_phpmyadmin.sock /DIR/php-fpm_pool_phpmyadmin.conf 81 | |
ExecStopPost=-/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm_phpmyadmin.sock /DIR/php-fpm_pool_phpmyadmin.conf 81 | |
ExecReload=/bin/kill -USR2 $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment