aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs/git-srht/files/git.sr.ht.service
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-05 20:19:38 -0500
committerJulien Roy <julien@jroy.ca>2023-01-05 20:19:38 -0500
commit1b97ac4a867912967f829d19cf26c2243ba5fd8b (patch)
tree82694ee6bfa62cfb8cda6df734b30818bfb7a150 /dev-vcs/git-srht/files/git.sr.ht.service
parentb8690d4f0c3fd8fc67c82c0a7a97e45280cba809 (diff)
downloadMrRoy-Overlay-1b97ac4a867912967f829d19cf26c2243ba5fd8b.tar.gz
MrRoy-Overlay-1b97ac4a867912967f829d19cf26c2243ba5fd8b.tar.bz2
MrRoy-Overlay-1b97ac4a867912967f829d19cf26c2243ba5fd8b.zip
*/*-srht: fix systemd services, RESTRICT
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-vcs/git-srht/files/git.sr.ht.service')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht.service b/dev-vcs/git-srht/files/git.sr.ht.service
index a3f0082..c3e5cde 100644
--- a/dev-vcs/git-srht/files/git.sr.ht.service
+++ b/dev-vcs/git-srht/files/git.sr.ht.service
@@ -1,11 +1,10 @@
[Unit]
Description=git.sr.ht website service
-Requires=redis.service postgresql.service
-After=redis.service postgresql.service network.target
+After=network.target
[Service]
Type=simple
-User=gitsrht
+User=srht
Restart=always
ExecStart=/usr/bin/gunicorn gitsrht.app:app -b 127.0.0.1:5001