mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 07:40:12 +01:00
Added ExecStop to pilersearch systemd config
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
000bda5e64
commit
29d3358212
@ -5,6 +5,7 @@ After=network.target mariadb.service
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/searchd --config /etc/piler/manticore.conf
|
ExecStart=/usr/bin/searchd --config /etc/piler/manticore.conf
|
||||||
ExecStartPre=/bin/bash -c "if [[ ! -d /var/run/piler ]]; then mkdir -p /var/run/piler; chown piler:piler /var/run/piler; fi"
|
ExecStartPre=/bin/bash -c "if [[ ! -d /var/run/piler ]]; then mkdir -p /var/run/piler; chown piler:piler /var/run/piler; fi"
|
||||||
|
ExecStop=/usr/bin/searchd --config /etc/piler/manticore.conf --stopwait
|
||||||
PIDFile=/var/run/piler/searchd.pid
|
PIDFile=/var/run/piler/searchd.pid
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user