Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WildFly as a Systemd service
[Unit]
Description=WildFly application server
After=network.target
[Service]
Type=simple
User=wildfly
Group=wildfly
ExecStart=/opt/wildfly/bin/standalone.sh
[Install]
WantedBy=multi-user.target
@shwetabharti

This comment has been minimized.

Copy link

commented Mar 3, 2017

Hi,

Can you tell me how can one bind the IP while starting the wildfly service via systemd wildfly.service file. More precisely, my agenda is to start the wildfly service in standalone mode and binding an IP (a.b.c.d) with it. Till now I was manually starting the service (without systemd). Moreover the parameter "ExecStart=/app_server/wildfly/bin/standalone.sh -b a.b.c.d" in systemd is not working for me. Do you know any workaround?

@sjas

This comment has been minimized.

Copy link

commented Aug 23, 2017

try and see wether it works, didnt test this:

ExecStart=/bin/sh -c "/app_server/wildfly/bin/standalone.sh -b a.b.c.d"

@sjas

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.