[Python-modules-commits] r28070 - in packages/fedmsg/trunk/debian (4 files)

olasd at users.alioth.debian.org olasd at users.alioth.debian.org
Sun Mar 9 02:04:13 UTC 2014


    Date: Sunday, March 9, 2014 @ 02:04:12
  Author: olasd
Revision: 28070

Create the fedmsg daemon user if it doesn't exist

Added:
  packages/fedmsg/trunk/debian/fedmsg-gateway.postinst
  packages/fedmsg/trunk/debian/fedmsg-hub.postinst
  packages/fedmsg/trunk/debian/fedmsg-irc.postinst
  packages/fedmsg/trunk/debian/fedmsg-relay.postinst

Added: packages/fedmsg/trunk/debian/fedmsg-gateway.postinst
===================================================================
--- packages/fedmsg/trunk/debian/fedmsg-gateway.postinst	                        (rev 0)
+++ packages/fedmsg/trunk/debian/fedmsg-gateway.postinst	2014-03-09 02:04:12 UTC (rev 28070)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if ! getent passwd fedmsg >/dev/null; then
+    adduser --quiet --system --no-create-home --home /var/run/fedmsg --group fedmsg
+fi
+
+#DEBHELPER#

Added: packages/fedmsg/trunk/debian/fedmsg-hub.postinst
===================================================================
--- packages/fedmsg/trunk/debian/fedmsg-hub.postinst	                        (rev 0)
+++ packages/fedmsg/trunk/debian/fedmsg-hub.postinst	2014-03-09 02:04:12 UTC (rev 28070)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if ! getent passwd fedmsg >/dev/null; then
+    adduser --quiet --system --no-create-home --home /var/run/fedmsg --group fedmsg
+fi
+
+#DEBHELPER#

Added: packages/fedmsg/trunk/debian/fedmsg-irc.postinst
===================================================================
--- packages/fedmsg/trunk/debian/fedmsg-irc.postinst	                        (rev 0)
+++ packages/fedmsg/trunk/debian/fedmsg-irc.postinst	2014-03-09 02:04:12 UTC (rev 28070)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if ! getent passwd fedmsg >/dev/null; then
+    adduser --quiet --system --no-create-home --home /var/run/fedmsg --group fedmsg
+fi
+
+#DEBHELPER#

Added: packages/fedmsg/trunk/debian/fedmsg-relay.postinst
===================================================================
--- packages/fedmsg/trunk/debian/fedmsg-relay.postinst	                        (rev 0)
+++ packages/fedmsg/trunk/debian/fedmsg-relay.postinst	2014-03-09 02:04:12 UTC (rev 28070)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if ! getent passwd fedmsg >/dev/null; then
+    adduser --quiet --system --no-create-home --home /var/run/fedmsg --group fedmsg
+fi
+
+#DEBHELPER#




More information about the Python-modules-commits mailing list