full path in the systemd unit.
This commit is contained in:
parent
413353fcca
commit
e779db1fc5
|
@ -24,8 +24,8 @@ Type=forking
|
|||
User=solr
|
||||
Environment=SOLR_INCLUDE=/etc/default/solr.in.sh
|
||||
Environment=RUNAS=solr
|
||||
ExecStart=${SOLR_INSTALL_DIR}/bin/solr start
|
||||
ExecStop=${SOLR_INSTALL_DIR}/bin/solr stop
|
||||
ExecStart={{ solr_server_dir }}/bin/solr start
|
||||
ExecStop={{ solr_server_dir }}/bin/solr stop
|
||||
Restart=on-failure
|
||||
RestartSec=3s
|
||||
TimeoutSec=180s
|
||||
|
|
Loading…
Reference in New Issue