diff options
Diffstat (limited to 'www-apps/meta-srht/files')
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.confd | 2 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-api.service | 12 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-daily.service | 8 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-daily.timer | 9 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-webhooks.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht-webhooks.service | 12 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.confd | 2 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.cron | 4 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.initd | 15 | ||||
-rw-r--r-- | www-apps/meta-srht/files/meta.sr.ht.service | 12 |
11 files changed, 0 insertions, 106 deletions
diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.confd b/www-apps/meta-srht/files/meta.sr.ht-api.confd deleted file mode 100644 index 9f22d1f..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.confd +++ /dev/null @@ -1,2 +0,0 @@ -ADDRESS=0.0.0.0 -PORT=5100
\ No newline at end of file diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.initd b/www-apps/meta-srht/files/meta.sr.ht-api.initd deleted file mode 100644 index 6280e78..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht API daemon" -description="" -command="/usr/bin/metasrht-api" -command_args="-b ${ADDRESS}:${PORT}" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.service b/www-apps/meta-srht/files/meta.sr.ht-api.service deleted file mode 100644 index 1341c65..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-api.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht API service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/metasrht-api -b :5100 - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/meta-srht/files/meta.sr.ht-daily.service b/www-apps/meta-srht/files/meta.sr.ht-daily.service deleted file mode 100644 index a2d9516..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-daily.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=meta.sr.ht job -After=network.target - -[Service] -Type=oneshot -User=srht -ExecStart=/usr/bin/metasrht-daily diff --git a/www-apps/meta-srht/files/meta.sr.ht-daily.timer b/www-apps/meta-srht/files/meta.sr.ht-daily.timer deleted file mode 100644 index 2462204..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-daily.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Daily meta.sr.ht job - -[Timer] -OnCalendar=daily -Persistent=true - -[Install] -WantedBy=timers.target diff --git a/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd b/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd deleted file mode 100644 index a1a42e5..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-webhooks.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht webhooks daemon" -description="" -command="/usr/bin/celery" -command_args="-A metasrht.webhooks worker --loglevel=INFO" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht-webhooks.service b/www-apps/meta-srht/files/meta.sr.ht-webhooks.service deleted file mode 100644 index 24c3b82..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht-webhooks.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht webhooks service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/celery -A metasrht.webhooks worker --loglevel=INFO - -[Install] -WantedBy=multi-user.target diff --git a/www-apps/meta-srht/files/meta.sr.ht.confd b/www-apps/meta-srht/files/meta.sr.ht.confd deleted file mode 100644 index 185d367..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.confd +++ /dev/null @@ -1,2 +0,0 @@ -BINDADDRESS=0.0.0.0 -PORT=8000
\ No newline at end of file diff --git a/www-apps/meta-srht/files/meta.sr.ht.cron b/www-apps/meta-srht/files/meta.sr.ht.cron deleted file mode 100644 index f271a9a..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.cron +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -su - srht -s /bin/sh -c /usr/bin/metasrht-daily -exit $? diff --git a/www-apps/meta-srht/files/meta.sr.ht.initd b/www-apps/meta-srht/files/meta.sr.ht.initd deleted file mode 100644 index 0728798..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.initd +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="meta.sr.ht daemon" -description="" -command="/usr/bin/gunicorn" -command_args="metasrht.app:app -b ${ADDRESS}:${PORT}" -command_user="srht:srht" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - need net -} diff --git a/www-apps/meta-srht/files/meta.sr.ht.service b/www-apps/meta-srht/files/meta.sr.ht.service deleted file mode 100644 index 562b131..0000000 --- a/www-apps/meta-srht/files/meta.sr.ht.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=meta.sr.ht website service -After=network.target - -[Service] -Type=simple -User=srht -Restart=always -ExecStart=/usr/bin/gunicorn metasrht.app:app -b 127.0.0.1:8000 - -[Install] -WantedBy=multi-user.target |