Skip to content

Commit

Permalink
feat(systemd): autodiscovery ldap with service restart
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Nov 28, 2024
1 parent 7de9dbc commit 68f8812
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imageroot/systemd/user/webapp.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ WorkingDirectory=%S/state
Restart=always
ExecStartPre=/bin/rm -f %t/webapp.pid %t/webapp.ctr-id
ExecStartPre=/usr/local/bin/runagent %S/scripts/expandconfig-webapp
ExecStartPre=/usr/local/bin/runagent discover-ldap
ExecStart=/usr/bin/podman run \
--env=CATALINA_OPTS="-server -Xms${WEBAPP_MIN_MEMORY}m -Xmx${WEBAPP_MAX_MEMORY}m \
-Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8 \
Expand Down

0 comments on commit 68f8812

Please sign in to comment.