aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-26 02:48:20 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-07-26 02:48:20 +0000
commitfcb5f697f924ab7c3664e5a6cd9cc62189e46c87 (patch)
tree46d3a2c89bec346dc70e3051520f0e1b0826cf35
parent1453476f971803f92fa2a6cb39cf8a226c51c8b2 (diff)
downloadapkbuilds-fcb5f697f924ab7c3664e5a6cd9cc62189e46c87.tar.gz
apkbuilds-fcb5f697f924ab7c3664e5a6cd9cc62189e46c87.tar.bz2
apkbuilds-fcb5f697f924ab7c3664e5a6cd9cc62189e46c87.zip
fix: Use proper path/user setups
-rw-r--r--midr/APKBUILD6
-rw-r--r--midr/midr.confd2
-rw-r--r--midr/midr.initd2
3 files changed, 5 insertions, 5 deletions
diff --git a/midr/APKBUILD b/midr/APKBUILD
index 7192efd..ee4213f 100644
--- a/midr/APKBUILD
+++ b/midr/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
pkgname=midr
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="yt-dlp simple frontend"
url="https://git.sr.ht/~gabrielgio/midr"
arch="x86_64"
@@ -43,6 +43,6 @@ package() {
sha512sums="
a114bfe718d95ad5157aa55870b6bceb61dfcea7e0cb5d76b2ecd3b29a266d1c1e8c1204a4020da798a8bd24210b3eccdf1779311b524897458be511652692ba midr-0.1.1.tar.gz
-28927837fb4183509054830bf93342c09123b8589ad1d66272c9e3decef3f83e1cb2d1f30a0a8147edf5628b8834447f87aa7001f76a71e826f16836f72a3436 midr.initd
-6329a88c5d88fdc1f8c2b3f009d988dc03d6a3c2bb7e2e9eebaf0002625d74a13c824fd90ff67dcb9cba2fb15008b92e68d57d6f3a5a2c5331d13d5f5b11ff72 midr.confd
+b540b2a8210ef525226ca798f39866bebcd60e2c17296e4d256dc6e8e887f37f493835c4e9f25c5ef7e6cee3e903f91afdbf2abf8bcb903c1a485c89b1e85411 midr.initd
+eaa355698e89b978c2158360802fa7ced7ead961187a0145af862fac09704b73d4e22e906a280c87e2280d2567dde0644382c5b226cb18d4165750a0a029d79f midr.confd
"
diff --git a/midr/midr.confd b/midr/midr.confd
index 50d6ea3..79693ed 100644
--- a/midr/midr.confd
+++ b/midr/midr.confd
@@ -1,2 +1,2 @@
-datadir="/var/lib/jellyfin"
+datadir="/var/lib/midr"
opts="-p"
diff --git a/midr/midr.initd b/midr/midr.initd
index 7640168..20a069f 100644
--- a/midr/midr.initd
+++ b/midr/midr.initd
@@ -8,7 +8,7 @@ command_user=www-data:www-data
command_args="-d ${datadir} ${opts}"
command_background="yes"
-start_stop_daemon_args="--user $sample_user:$sample_group"
+start_stop_daemon_args="--user www-data:www-data"
pidfile="/run/$name.pid"
depend() {