Skip to content

Instantly share code, notes, and snippets.

@JPablomr
Created April 17, 2017 15:53
Show Gist options
  • Save JPablomr/8d4c10332f5820b7aa5dfe6b2773ceaf to your computer and use it in GitHub Desktop.
Save JPablomr/8d4c10332f5820b7aa5dfe6b2773ceaf to your computer and use it in GitHub Desktop.
Solarwinds DPA systemd unit file
[Unit]
Description=Solarwinds DPA
After=network.target
After=mysqld.service
[Service]
Environment="JAVA_HOME=/opt/swi_dpa/current/iwc/jre_linux"
Environment="PATH=/opt/swi_dpa/current/iwc/jre_linux/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
Environment="JAVA_OPTS=-server -Xss300k -Xms256m -Xmx2560 -Djava.net.preferIPv4Stack=true -Dnet.sf.ehcache.skipUpdateCheck=true"
ExecStart=/opt/swi_dpa/current/iwc/tomcat/bin/startup.sh
Type=forking
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment