feat: add dinit support
Signed-off-by: Ivan <ivan@quad4.io>
This commit is contained in:
parent
0d8c4570d2
commit
3e0365e758
3 changed files with 32 additions and 2 deletions
9
init/dinit/omnisearch
Normal file
9
init/dinit/omnisearch
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
type = process
|
||||
command = /usr/bin/omnisearch
|
||||
working-dir = /etc/omnisearch
|
||||
run-as = omnisearch
|
||||
logfile = /var/log/omnisearch/omnisearch.log
|
||||
logfile-uid = omnisearch
|
||||
logfile-gid = omnisearch
|
||||
restart = yes
|
||||
restart-delay = 5
|
||||
Loading…
Reference in a new issue