]> WPIA git - gigi.git/blobdiff - debian/cacert-gigi-testing.postinst
Replace init scripts with systemd unit files
[gigi.git] / debian / cacert-gigi-testing.postinst
index 6ed6758d190cf4a8f1a7afebe5cc27e5d6cb4f2c..e5654e3662e63969977a23026e9f18745a1e83d0 100644 (file)
@@ -27,6 +27,7 @@ case "$1" in
         else
             gigi fetch-locales
         fi
+        adduser --system gigi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
@@ -38,9 +39,10 @@ case "$1" in
     ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
+# The "hash DEBHELPER hash" special token is deliberately *not* included;
+# gigi cannot start out of the box,
+# and this package installs multiple services that cannot be used simultaneously,
+# so we really don't want dh_installdeb to add code by
+# dh_systemd_enable, dh_installinit and dh_systemd_start here.
 
 exit 0