full path in the systemd unit.

This commit is contained in:
Andrea Dell'Amico 2024-11-28 18:55:34 +01:00
parent 413353fcca
commit e779db1fc5
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -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