mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [ "x$WILDFLY_HOME" = "x" ]; then
|
||||
WILDFLY_HOME="{{ wf_homedir }}"
|
||||
fi
|
||||
|
||||
if [[ "$1" == "domain" ]]; then
|
||||
$WILDFLY_HOME/bin/domain.sh -c "$2" -b "$3"
|
||||
else
|
||||
$WILDFLY_HOME/bin/standalone.sh -c "$2" -b "$3"
|
||||
fi
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=The WildFly Application Server
|
||||
After=syslog.target network.target
|
||||
Before=httpd.service
|
||||
|
||||
[Service]
|
||||
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
|
||||
EnvironmentFile=-{{ wf_homedir }}/wildfly.conf
|
||||
User=wildfly
|
||||
LimitNOFILE=102642
|
||||
PIDFile=/var/run/wildfly/wildfly.pid
|
||||
ExecStart={{ wf_homedir }}/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND
|
||||
StandardOutput=null
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue