aboutsummaryrefslogtreecommitdiff
path: root/dev-vcs
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-07 14:56:02 -0500
committerJulien Roy <julien@jroy.ca>2023-01-07 14:56:02 -0500
commitde8c9ee3212bc633deb5f404894f132b75d2e63c (patch)
tree17790468685e5472b968b37007760998a449b774 /dev-vcs
parent4127ef3d0bccda127194a38ff9a31d1659f6a1df (diff)
downloadMrRoy-Overlay-de8c9ee3212bc633deb5f404894f132b75d2e63c.tar.gz
MrRoy-Overlay-de8c9ee3212bc633deb5f404894f132b75d2e63c.tar.bz2
MrRoy-Overlay-de8c9ee3212bc633deb5f404894f132b75d2e63c.zip
dev-vcs/git-srht/files: rename srht user to git-srht
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-api.initd2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-api.service2
-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.initd2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht-webhooks.service2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.cron2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.initd2
-rw-r--r--dev-vcs/git-srht/files/git.sr.ht.service2
8 files changed, 8 insertions, 8 deletions
diff --git a/dev-vcs/git-srht/files/git.sr.ht-api.initd b/dev-vcs/git-srht/files/git.sr.ht-api.initd
index 0effd1d..7172b87 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-api.initd
+++ b/dev-vcs/git-srht/files/git.sr.ht-api.initd
@@ -6,7 +6,7 @@ name="git.sr.ht API daemon"
description=""
command="/usr/bin/gitsrht-api"
command_args="-b ${ADDRESS}:${PORT}"
-command_user="srht:srht"
+command_user="git-srht:git-srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
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 bd1590d..e5d84b6 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-api.service
+++ b/dev-vcs/git-srht/files/git.sr.ht-api.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=srht
+User=git-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 72f5d47..52038c9 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=srht
+User=git-srht
ExecStart=/usr/bin/gitsrht-periodic
diff --git a/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd b/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
index 717f888..2d6920f 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
+++ b/dev-vcs/git-srht/files/git.sr.ht-webhooks.initd
@@ -6,7 +6,7 @@ name="git.sr.ht webhooks daemon"
description=""
command="/usr/bin/celery"
command_args="-A gitsrht.webhooks worker --loglevel=INFO"
-command_user="srht:srht"
+command_user="git-srht:git-srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
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 8adf536..f7bd0f8 100644
--- a/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
+++ b/dev-vcs/git-srht/files/git.sr.ht-webhooks.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=srht
+User=git-srht
Restart=always
ExecStart=/usr/bin/celery -A gitsrht.webhooks worker --loglevel=INFO
diff --git a/dev-vcs/git-srht/files/git.sr.ht.cron b/dev-vcs/git-srht/files/git.sr.ht.cron
index 06c8477..9d92e09 100644
--- a/dev-vcs/git-srht/files/git.sr.ht.cron
+++ b/dev-vcs/git-srht/files/git.sr.ht.cron
@@ -1,4 +1,4 @@
#!/bin/sh
-su - srht -s /bin/sh -c /usr/bin/gitsrht-periodic
+su - git-srht -s /bin/sh -c /usr/bin/gitsrht-periodic
exit $?
diff --git a/dev-vcs/git-srht/files/git.sr.ht.initd b/dev-vcs/git-srht/files/git.sr.ht.initd
index 9d5aac0..15bfd93 100644
--- a/dev-vcs/git-srht/files/git.sr.ht.initd
+++ b/dev-vcs/git-srht/files/git.sr.ht.initd
@@ -6,7 +6,7 @@ name="git.sr.ht daemon"
description=""
command="/usr/bin/gunicorn"
command_args="gitsrht.app:app -b ${ADDRESS}:${PORT}"
-command_user="srht:srht"
+command_user="git-srht:git-srht"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"
diff --git a/dev-vcs/git-srht/files/git.sr.ht.service b/dev-vcs/git-srht/files/git.sr.ht.service
index c3e5cde..c44365b 100644
--- a/dev-vcs/git-srht/files/git.sr.ht.service
+++ b/dev-vcs/git-srht/files/git.sr.ht.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
Type=simple
-User=srht
+User=git-srht
Restart=always
ExecStart=/usr/bin/gunicorn gitsrht.app:app -b 127.0.0.1:5001