Skip to content

Instantly share code, notes, and snippets.

@efonte
Last active March 12, 2018 14:25
Show Gist options
  • Save efonte/900d263556ab2823c7cad688efd77ef5 to your computer and use it in GitHub Desktop.
Save efonte/900d263556ab2823c7cad688efd77ef5 to your computer and use it in GitHub Desktop.
[Unit]
Description=The WildFly Application Server
After=syslog.target network.target
Before=nginx.service
[Service]
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
EnvironmentFile=/etc/default/wildfly
User=wildfly
LimitNOFILE=102642
PIDFile=/var/run/wildfly/wildfly.pid
ExecStart=/opt/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND
StandardOutput=null
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment