We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 442a9c4 commit 43dfbd9Copy full SHA for 43dfbd9
imageroot/systemd/user/phpfpm@.service
@@ -9,12 +9,12 @@ Environment=PODMAN_SYSTEMD_UNIT=%n
9
EnvironmentFile=%S/state/environment
10
EnvironmentFile=%S/state/image_url_tag.env
11
WorkingDirectory=%S/state
12
-EnvironmentFile=-%S/state/smarthost.env
+EnvironmentFile=-%S/state/php%i_smarthost.env
13
Restart=always
14
TimeoutStopSec=70
15
ExecStartPre=/bin/rm -f %t/php%i-fpm.pid %t/php%i-fpm.ctr-id
16
ExecStartPre=/usr/bin/mkdir -p %S/state/php%i-fpm-custom.d
17
-ExecStartPre=-runagent discover-smarthost
+ExecStartPre=-runagent discover-smarthost %i
18
ExecStart=/usr/bin/podman run --conmon-pidfile %t/php%i-fpm.pid \
19
--cidfile %t/php%i-fpm.ctr-id --cgroups=no-conmon \
20
--pod-id-file %t/webserver.pod-id --replace -d --name php%i-fpm \
0 commit comments