aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Amar-Bensaber <renken@shione.net>2024-08-29 00:56:58 +0200
committerMohammed Amar-Bensaber <renken@shione.net>2024-08-29 00:56:58 +0200
commitbc1e6e4ca67be2b98ae210d354f768b391e4236f (patch)
tree7060b151f0f586b8caee268a00cb054a3c85b3c6
parent057c70453fd1c7fb8ba5a43aab4769494a88f726 (diff)
downloadshione-bc1e6e4ca67be2b98ae210d354f768b391e4236f.tar.gz
shione-bc1e6e4ca67be2b98ae210d354f768b391e4236f.zip
cgit: postinst: enable and start fcgiwrap service
-rw-r--r--debian/cgit-config.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/cgit-config.postinst b/debian/cgit-config.postinst
new file mode 100644
index 0000000..98951d6
--- /dev/null
+++ b/debian/cgit-config.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# TODO: Handle "$1".
+
+set -e
+
+#DEBHELPER#
+
+# TODO: Setup git user and stuff.
+
+deb-systemd-helper enable fcgiwrap
+deb-systemd-invoke restart fcgiwrap