summarylogtreecommitdiffstats
path: root/fossil.service
diff options
context:
space:
mode:
Diffstat (limited to 'fossil.service')
-rw-r--r--fossil.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/fossil.service b/fossil.service
new file mode 100644
index 000000000000..9c585100e502
--- /dev/null
+++ b/fossil.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Fossil service
+
+[Service]
+# /var/fossil is the default path to fossil repositories
+ExecStart=-/usr/bin/fossil http /var/fossil
+StandardInput=socket
+# Uncomment this line to use fossil with URL prefix
+# This allows fossil to generate correct hyperlinks and redirects when
+# hosted within virtual directory (e.g. nginx reverse-proxy setups)
+#Environment=SCRIPT_NAME=/fossil