Skip to content

Commit

Permalink
Added cf-php-fpm systemd service unit template for http2 enablement i…
Browse files Browse the repository at this point in the history
…n Mission Portal

Ticket: ENT-11440
Changelog: title
  • Loading branch information
craigcomstock committed Sep 12, 2024
1 parent 8334505 commit 6750a2d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions misc/systemd/cf-php-fpm.service.mustache.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Unit]
Description=CFEngine Enterprise PHP FastCGI Process Manager
After=syslog.target
Wants=cf-postgres.service
After=cf-postgres.service
ConditionPathExists=@workdir@/httpd/php/sbin/php-fpm
PartOf=cfengine3.service

[Service]
ExecStart={{{vars.sys.workdir}}}/httpd/php/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
PIDFile={{{vars.sys.workdir}}}/httpd/php-fpm.pid
Type=simple

[Install]
WantedBy=multi-user.target

0 comments on commit 6750a2d

Please sign in to comment.