aboutsummaryrefslogtreecommitdiff
path: root/www-apps/wger/files/wger.initd
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2024-11-23 01:26:31 -0500
committerJulien Roy <julien@jroy.ca>2024-11-24 16:35:43 -0500
commit04d3583d314861258e9c578789bd2ed30035c13e (patch)
tree5e8b1507ba7da7019d88c0e3489ebd0fbc57a53b /www-apps/wger/files/wger.initd
parent816296e8d0f0673d48cf8f35ab799cd52fb8943f (diff)
downloadMrRoy-Overlay-04d3583d314861258e9c578789bd2ed30035c13e.tar.gz
MrRoy-Overlay-04d3583d314861258e9c578789bd2ed30035c13e.tar.bz2
MrRoy-Overlay-04d3583d314861258e9c578789bd2ed30035c13e.zip
*/*: move wger & dependencies to wger-overlay
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'www-apps/wger/files/wger.initd')
-rw-r--r--www-apps/wger/files/wger.initd28
1 files changed, 0 insertions, 28 deletions
diff --git a/www-apps/wger/files/wger.initd b/www-apps/wger/files/wger.initd
deleted file mode 100644
index e3988c3..0000000
--- a/www-apps/wger/files/wger.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-SETTINGS_FILE=${SETTINGS_FILE:-/etc/wger/settings.py}
-LISTEN_ADDR=${LISTEN_ADDR:-0.0.0.0}
-LISTEN_PORT=${LISTEN_PORT:-8000}
-
-name="wger daemon"
-description="Self hosted FLOSS fitness/workout, nutrition and weight tracker"
-
-pidfile="/run/${RC_SVCNAME}.pid"
-command="/usr/bin/python"
-command_args="-m wger start --settings-path=${SETTINGS_FILE} --address=${LISTEN_ADDR} --port=${LISTEN_PORT}"
-command_background=true
-command_user="wger:wger"
-
-output_log="/var/log/wger.log"
-error_log="/var/log/wger.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- checkpath -d -m 0755 -o "$command_user" /var/lib/wger
- checkpath -f -m 0644 -o "$command_user" "$output_log"
-}