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

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


    Date: Wednesday, January 11, 2017 @ 17:54:36
  Author: anatolik
Revision: 206850

systemd-tmpfiles invocation moved to hooks

Modified:
  tarantool/trunk/tarantool.install

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

Modified: tarantool.install
===================================================================
--- tarantool.install	2017-01-11 17:54:04 UTC (rev 206849)
+++ tarantool.install	2017-01-11 17:54:36 UTC (rev 206850)
@@ -1,11 +1,8 @@
 post_upgrade() {
+  # TODO: move user creation to systemd-sysusers
   getent group tarantool >/dev/null || groupadd --system tarantool &>/dev/null
   getent passwd tarantool >/dev/null || useradd --system -g tarantool -d /var/lib/tarantool -s /bin/false -c "Tarantool Server" tarantool &>/dev/null
 
-  if type -P systemd-tmpfiles &> /dev/null; then
-    systemd-tmpfiles --create tarantool.conf
-  fi
-
   mkdir -p /var/run/tarantool
 
   chown -R tarantool:tarantool /var/run/tarantool/



More information about the arch-commits mailing list