mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 23:41:59 +01:00
29d3358212
Signed-off-by: Janos SUTO <sj@acts.hu>
20 lines
540 B
Desktop File
20 lines
540 B
Desktop File
[Unit]
|
|
Description=Searchd for piler daemon
|
|
After=network.target mariadb.service
|
|
|
|
[Service]
|
|
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"
|
|
ExecStop=/usr/bin/searchd --config /etc/piler/manticore.conf --stopwait
|
|
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
|