Updated flexget and dependencies / repaired vzlogger

This commit is contained in:
layman
2021-11-30 16:14:32 +01:00
parent e7281f8446
commit af0830e3ef
28 changed files with 273 additions and 344 deletions
+14
View File
@@ -0,0 +1,14 @@
# Gitea configuration
GITEA_CONF="/etc/gitea/app.ini"
# Gitea user
GITEA_USER="git"
# Gitea group
GITEA_GROUP="git"
# Gitea working directory
GITEA_WORK_DIR="/var/lib/gitea"
# Gitea custom directory
GITEA_CUSTOM="${GITEA_WORK_DIR}/custom"
+22
View File
@@ -0,0 +1,22 @@
#!/sbin/openrc-run
# Copyright 2016-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Gitea, a self-hosted Git service"
: ${GITEA_CONF:=/etc/gitea/app.ini}
: ${GITEA_USER:=git}
: ${GITEA_GROUP:=git}
: ${GITEA_WORK_DIR:=/var/lib/gitea}
: ${GITEA_CUSTOM:=${GITEA_WORK_DIR}/custom}
command="/usr/bin/gitea web"
command_args="--config ${GITEA_CONF}"
command_background="true"
command_user="${GITEA_USER}:${GITEA_GROUP}"
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err"
pidfile="/run/${RC_SVCNAME}.pid"
required_files="${GITEA_CONF}"
start_stop_daemon_args="-d ${GITEA_WORK_DIR}"
start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_WORK_DIR=${GITEA_WORK_DIR}"
start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_CUSTOM=${GITEA_CUSTOM}"
+5
View File
@@ -0,0 +1,5 @@
# Middleware API gravo connects to
GRAVO_API=https://demo.volkszaehler.org/middleware.php
# URL gravo listens on
GRAVO_URL=0.0.0.0:8000
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Gravo
Documentation=https://github.com/andig/gravo
After=network.target
Requires=network.target
After=grafana.service
[Service]
EnvironmentFile=-/etc/default/gravo
ExecStart=/usr/bin/gravo -api $GRAVO_API -url $GRAVO_URL
Restart=always
PrivateTmp=true
Nice=5
[Install]
WantedBy=multi-user.target