mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-26 07:57:05 +00:00
21 lines
414 B
Desktop File
21 lines
414 B
Desktop File
[Unit]
|
|
Description=Apache SOLR
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=solr
|
|
Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
|
|
ExecStart=/usr/local/lib/solr/bin/solr start
|
|
ExecStop=/usr/local/lib/solr/bin/solr stop
|
|
Restart=on-failure
|
|
#ReadWritePaths=/var/lib/solr/
|
|
#ReadWritePaths=/var/lib/solr/data/
|
|
LimitNOFILE=65000
|
|
LimitNPROC=65000
|
|
TimeoutSec=180s
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|