aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs/git-srht/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git-srht/files')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-api.service5
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-periodic.service2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-webhooks.service5
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.service5
4 files changed, 7 insertions, 10 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht-api.service b/dev-vcs/git-srht/files/git.sr.ht-api.service
index c41c2fc..bd1590d 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-api.service
+++ b/dev-vcs/git-srht/files/git.sr.ht-api.service
@@ -1,11 +1,10 @@
[Unit]
Description=git.sr.ht API 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/gitsrht-api -b :5101
diff --git a/dev-vcs/git-srht/files/git.sr.ht-periodic.service b/dev-vcs/git-srht/files/git.sr.ht-periodic.service
index ce4c4b7..72f5d47 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-periodic.service
+++ b/dev-vcs/git-srht/files/git.sr.ht-periodic.service
@@ -3,5 +3,5 @@ Description=git.sr.ht maintenance tasks
[Service]
Type=oneshot
-User=gitsrht
+User=srht
ExecStart=/usr/bin/gitsrht-periodic
diff --git a/dev-vcs/git-srht/files/git.sr.ht-webhooks.service b/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
index 0a4b4d1..8adf536 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
+++ b/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
@@ -1,11 +1,10 @@
[Unit]
Description=git.sr.ht webhooks service
-Requires=postgresql.service
-After=postgresql.service network.target
+After=network.target
[Service]
Type=simple
-User=gitsrht
+User=srht
Restart=always
ExecStart=/usr/bin/celery -A gitsrht.webhooks worker --loglevel=INFO
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