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/gotify-server-bin/files/gotify-server-bin.initd
tastytea 1cb21bebf1
All checks were successful
continuous-integration/drone/push Build is passing
www-apps/gotify-server-bin: New package.
Also add user and group.
2021-09-09 21:12:05 +02:00

17 lines
484 B
Plaintext

#!/sbin/openrc-run
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="gotify-server-bin"
description="gotify server (bin)"
command="/usr/bin/${name}"
pidfile="/run/${name}.pid"
logdir="/var/log/${name}"
start_stop_daemon_args="--background --make-pidfile --pidfile ${pidfile} --user gotify:gotify --chdir /var/lib/gotify --stdout ${logdir}/${name}.log --stderr ${logdir}/error.log"
depend() {
need net
use dns
after logger
}