2018-07-14 14:57:08 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Searchd for piler daemon
|
|
|
|
After=network.target mariadb.service
|
|
|
|
|
|
|
|
[Service]
|
2022-08-27 18:04:52 +02:00
|
|
|
ExecStart=/usr/bin/searchd --config /etc/piler/manticore.conf
|
2018-07-14 14:57:08 +02:00
|
|
|
ExecStartPre=/bin/bash -c "if [[ ! -d /var/run/piler ]]; then mkdir -p /var/run/piler; chown piler:piler /var/run/piler; fi"
|
2023-03-19 20:43:55 +01:00
|
|
|
ExecStop=/usr/bin/searchd --config /etc/piler/manticore.conf --stopwait
|
2018-07-14 14:57:08 +02:00
|
|
|
PIDFile=/var/run/piler/searchd.pid
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
|
|
|
RestartPreventExitStatus=255
|
|
|
|
Type=forking
|
|
|
|
User=piler
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=pilersearch.service
|