Skip to content

Commit ec46345

Browse files
bertoggsimo5
authored andcommitted
systemd: add StateDirectory to gssproxy.service
gssproxy won't start if /var/lib/gssproxy is missing ("Failed to create Unix Socket!"). systemd provides a directive to ensure that all necessary state directories exist so we can use it in this case. Signed-off-by: Alberto Garcia <berto@igalia.com>
1 parent f6ab319 commit ec46345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemd/gssproxy.service.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ After=syslog.target network.target
55
Before=rpc-gssd.service
66

77
[Service]
8+
StateDirectory=gssproxy/clients gssproxy/rcache
89
Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache
910
ExecStart=@sbindir@/gssproxy -D
1011
# These two should be used with traditional UNIX forking daemons

0 commit comments

Comments
 (0)