diff options
Diffstat (limited to 'debian/patches/use-_keysafe.patch')
-rw-r--r-- | debian/patches/use-_keysafe.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/debian/patches/use-_keysafe.patch b/debian/patches/use-_keysafe.patch deleted file mode 100644 index 77d9591..0000000 --- a/debian/patches/use-_keysafe.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Sean Whitton <spwhitton@spwhitton.name> -Date: Sat, 22 Oct 2016 15:46:03 -0700 -Subject: use _keysafe - -To avoid clashes with any non-system user accounts or groups. - -Forwarded: not-needed ---- - keysafe.init | 2 +- - keysafe.service | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/keysafe.init b/keysafe.init -index 4aa1348..3332309 100644 ---- a/keysafe.init -+++ b/keysafe.init -@@ -32,7 +32,7 @@ case "$1" in - start-stop-daemon --start --quiet --oknodo \ - --background --no-close \ - --pidfile "$PIDFILE" --make-pidfile \ -- --chuid keysafe:keysafe \ -+ --chuid _keysafe:_keysafe \ - --exec "$DAEMON" -- --server $DAEMON_PARAMS \ - > /var/log/keysafe.log - log_end_msg $? -diff --git a/keysafe.service b/keysafe.service -index 24eaad2..1a81058 100644 ---- a/keysafe.service -+++ b/keysafe.service -@@ -8,8 +8,8 @@ EnvironmentFile=-/etc/default/keysafe - ExecStart=/usr/bin/keysafe --server $DAEMON_PARAMS - InaccessiblePaths=/home /etc - ReadWritePaths=/var/lib/keysafe --User=keysafe --Group=keysafe -+User=_keysafe -+Group=_keysafe - StandardInput=null - StandardOutput=journal - StandardError=journal |