blob: c9a5501e67329521a7434868ef646f443b1b6515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/openrc-run
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="signald daemon"
description="an API for Signal"
pidfile="/run/${RC_SVCNAME}.pid"
command="/usr/bin/signald"
command_args="-d /var/lib/signald --system-socket"
command_background=true
command_user="signald:signald"
output_log="/var/log/signald.log"
error_log="/var/log/signald.log"
depend() {
need net
}
start_pre() {
checkpath -f -m 0644 -o "$command_user" "$output_log"
}
|