Add polkitd service
This commit is contained in:
parent
1d20988d9d
commit
a46145aa52
3
config/polkitd.conf
Normal file
3
config/polkitd.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# This configures the directives used for s6-log in the log service.
|
||||
DIRECTIVES="n3 s2000000 T"
|
||||
|
1
sv/polkitd-log/consumer-for
Normal file
1
sv/polkitd-log/consumer-for
Normal file
@ -0,0 +1 @@
|
||||
polkitd-srv
|
1
sv/polkitd-log/notification-fd
Normal file
1
sv/polkitd-log/notification-fd
Normal file
@ -0,0 +1 @@
|
||||
3
|
1
sv/polkitd-log/pipeline-name
Normal file
1
sv/polkitd-log/pipeline-name
Normal file
@ -0,0 +1 @@
|
||||
polkitd
|
9
sv/polkitd-log/run
Normal file
9
sv/polkitd-log/run
Normal file
@ -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
|
1
sv/polkitd-log/timeout-down
Normal file
1
sv/polkitd-log/timeout-down
Normal file
@ -0,0 +1 @@
|
||||
0
|
1
sv/polkitd-log/type
Normal file
1
sv/polkitd-log/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
1
sv/polkitd-srv/notification-fd
Normal file
1
sv/polkitd-srv/notification-fd
Normal file
@ -0,0 +1 @@
|
||||
3
|
1
sv/polkitd-srv/producer-for
Normal file
1
sv/polkitd-srv/producer-for
Normal file
@ -0,0 +1 @@
|
||||
polkitd-log
|
2
sv/polkitd-srv/run
Normal file
2
sv/polkitd-srv/run
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/execlineb
|
||||
exec /usr/pkg/lib/polkit-1/polkitd --no-debug
|
1
sv/polkitd-srv/timeout-down
Normal file
1
sv/polkitd-srv/timeout-down
Normal file
@ -0,0 +1 @@
|
||||
0
|
1
sv/polkitd-srv/type
Normal file
1
sv/polkitd-srv/type
Normal file
@ -0,0 +1 @@
|
||||
longrun
|
Loading…
Reference in New Issue
Block a user