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