aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs/git-srht/files/git.sr.ht.service
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-srht/files/git.sr.ht.service')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht.service b/dev-vcs/git-srht/files/git.sr.ht.service
new file mode 100644
index 0000000..a3f0082
--- /dev/null
+++ b/dev-vcs/git-srht/files/git.sr.ht.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=git.sr.ht website service
+Requires=redis.service postgresql.service
+After=redis.service postgresql.service network.target
+
+[Service]
+Type=simple
+User=gitsrht
+Restart=always
+ExecStart=/usr/bin/gunicorn gitsrht.app:app -b 127.0.0.1:5001
+
+[Install]
+WantedBy=multi-user.target