Skip to content

Commit

Permalink
fix(systemd): fix env vars with special chars
Browse files Browse the repository at this point in the history
Resolve issue with environment variables containing special characters
when loaded via systemd. Adjusted `ExecStart` to invoke `podman` through
`runagent`, ensuring proper handling of systemd's variable parsing
quirks.
  • Loading branch information
Amygos committed Jan 23, 2025
1 parent 9059704 commit 50a250f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/freepbx.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Restart=always
ExecStartPre=/bin/rm -f %t/freepbx.pid %t/freepbx.ctr-id
ExecStartPre=-runagent install-certificate freepbx
ExecStartPre=-runagent discover-smarthost
ExecStart=/usr/bin/podman run \
ExecStart=runagent /usr/bin/podman run \
--detach \
--conmon-pidfile=%t/freepbx.pid \
--cidfile=%t/freepbx.ctr-id \
Expand Down

0 comments on commit 50a250f

Please sign in to comment.