You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
773 B
25 lines
773 B
2 years ago
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
|
From: David Michael <david.michael@coreos.com>
|
||
|
Date: Tue, 13 Jun 2017 13:20:16 -0700
|
||
|
Subject: [PATCH] sysvinit: Create the socket directory at runtime
|
||
|
|
||
|
This better supports non-systemd configurations with tmpfs on /run.
|
||
|
---
|
||
|
src/pesign.sysvinit.in | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/src/pesign.sysvinit.in b/src/pesign.sysvinit.in
|
||
|
index d8fffca..dc508d8 100644
|
||
|
--- a/src/pesign.sysvinit.in
|
||
|
+++ b/src/pesign.sysvinit.in
|
||
|
@@ -20,6 +20,9 @@ RETVAL=0
|
||
|
|
||
|
start(){
|
||
|
echo -n "Starting pesign: "
|
||
|
+ mkdir /var/run/pesign 2>/dev/null &&
|
||
|
+ chown pesign:pesign /var/run/pesign &&
|
||
|
+ chmod 0770 /var/run/pesign
|
||
|
daemon /usr/bin/pesign --daemonize
|
||
|
RETVAL=$?
|
||
|
echo
|