Skip to content

Instantly share code, notes, and snippets.

@ezhov-da
Created November 30, 2020 20:30
Show Gist options
  • Save ezhov-da/170f77a6d8eb9682232b7abe6e2ed7de to your computer and use it in GitHub Desktop.
Save ezhov-da/170f77a6d8eb9682232b7abe6e2ed7de to your computer and use it in GitHub Desktop.
Wildfly cервис
[Unit]
Description=wildfly
After=network.target
After=syslog.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User=wildfly_user
Group=wildfly_user
ExecStart=/usr/bin/sh /opt/wildfly-12.0.0.Final/bin/standalone.sh
WorkingDirectory=/opt/wildfly-12.0.0.Final/bin
Restart=always
RestartSec=20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment