Add polkitd service
This commit is contained in:
parent
1d20988d9d
commit
a46145aa52
|
@ -0,0 +1,3 @@
|
|||
# This configures the directives used for s6-log in the log service.
|
||||
DIRECTIVES="n3 s2000000 T"
|
||||
|
|
@ -0,0 +1 @@
|
|||
polkitd-srv
|
|
@ -0,0 +1 @@
|
|||
3
|
|
@ -0,0 +1 @@
|
|||
polkitd
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/execlineb -P
|
||||
envfile /etc/s6/config/polkitd.conf
|
||||
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
|
||||
ifelse { test -w /var/log } {
|
||||
foreground { install -d -o s6log -g s6log /var/log/polkitd }
|
||||
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/polkitd
|
||||
}
|
||||
foreground { install -d -o s6log -g s6log /run/log/polkitd }
|
||||
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/polkitd
|
|
@ -0,0 +1 @@
|
|||
0
|
|
@ -0,0 +1 @@
|
|||
longrun
|
|
@ -0,0 +1 @@
|
|||
3
|
|
@ -0,0 +1 @@
|
|||
polkitd-log
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/execlineb
|
||||
exec /usr/pkg/lib/polkit-1/polkitd --no-debug
|
|
@ -0,0 +1 @@
|
|||
0
|
|
@ -0,0 +1 @@
|
|||
longrun
|
Loading…
Reference in New Issue