Skip to content

Instantly share code, notes, and snippets.

@ferricoxide
Created August 27, 2018 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ferricoxide/57fcd8516bdb63092d8a7ab3e2f1c864 to your computer and use it in GitHub Desktop.
Save ferricoxide/57fcd8516bdb63092d8a7ab3e2f1c864 to your computer and use it in GitHub Desktop.
systemd Unit file for Mule ESB
[Unit]
Description=Mule ESB
After=network.target network-online.target
Wants=network-online.target
[Service]
ExecStart=/opt/mule-esb/bin/mule start
ExecStop=/opt/mule-esb/bin/mule stop
ExecReload=/opt/mule-esb/bin/mule restart
Group=mule
PIDFile=/opt/mule-esb/bin/.mule_ee.pid
Restart=always
RestartSec=30
User=mule
Type=forking
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment