Last active
August 23, 2017 13:00
-
-
Save marekjelen/8568448 to your computer and use it in GitHub Desktop.
WildFly as a Systemd service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
try and see wether it works, didnt test this:
ExecStart=/bin/sh -c "/app_server/wildfly/bin/standalone.sh -b a.b.c.d"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?