This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/www-apps/up-common-proxies/files/up-common-proxies.initd
tastytea 6ab14de4a0
All checks were successful
continuous-integration/drone/push Build is passing
www-apps/up-common-proxies: Remove logger dep in OpenRC init script
2021-12-15 23:48:19 +01:00

20 lines
475 B
Plaintext

#!/sbin/openrc-run
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="up-common-proxies"
description="Rewrite Proxy for some UnifiedPush providers"
command="/usr/bin/up-rewrite"
pidfile="/run/${name}.pid"
logdir="/var/log/${name}"
command_background="yes"
command_user="gotify:gotify"
directory="/etc/${name}"
error_log="${logdir}/${name}.log"
command_args="-c /etc/${name}/config.toml"
depend() {
need net
use dns
}