Last active
January 7, 2020 09:57
-
-
Save MarioBlazek/fa2f83168a85a9587e86ec38bce8747a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Apache SOLR for My Project | |
After=syslog.target network.target remote-fs.target nss-lookup.target | |
[Service] | |
Type=simple | |
WorkingDirectory=/var/www/my_project/ezpublish_legacy/extension/ezfind/java | |
ExecStart=/usr/bin/java -jar -server -Xms64M -Xmx512M -Dsolr.solr.home=/var/lib/solr/solr410/cores -Djetty.port=8984 -jar start.jar | |
Restart=on-failure | |
User=www-data | |
PrivateTmp=true | |
LimitNOFILE=10000 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment