[arch-commits] Commit in rethinkdb/trunk (rethinkdb.install)

Anatol Pomozov anatolik at archlinux.org
Wed Jan 11 17:54:05 UTC 2017


    Date: Wednesday, January 11, 2017 @ 17:54:04
  Author: anatolik
Revision: 206849

systemd-tmpfiles invocation moved to hooks

Modified:
  rethinkdb/trunk/rethinkdb.install

-------------------+
 rethinkdb.install |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Modified: rethinkdb.install
===================================================================
--- rethinkdb.install	2017-01-11 17:52:50 UTC (rev 206848)
+++ rethinkdb.install	2017-01-11 17:54:04 UTC (rev 206849)
@@ -1,11 +1,8 @@
 post_install() {
+  # TODO: move user creation to systemd-sysusers
   getent group rethinkdb >/dev/null || groupadd --system rethinkdb &>/dev/null
   getent passwd rethinkdb >/dev/null || useradd --system -g rethinkdb -d /var/lib/rethinkdb -s /bin/false rethinkdb &>/dev/null
 
-  if type -P systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create rethinkdb.conf
-  fi
-
   if [ -d /var/lib/rethinkdb ]; then
     echo "Database directory '/var/lib/rethinkdb' already exists. If you want to recreate default database then delete the directory and run 'rethinkdb create -d /var/lib/rethinkdb/default'."
   fi



More information about the arch-commits mailing list