Skip to content

Instantly share code, notes, and snippets.

@marekjelen
Last active August 23, 2017 13:00
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save marekjelen/8568448 to your computer and use it in GitHub Desktop.
Save marekjelen/8568448 to your computer and use it in GitHub Desktop.
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
@sjas
Copy link

sjas 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
Copy link

sjas commented Aug 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment