diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2019-05-20 14:31:22 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2019-05-20 14:31:22 +0000 |
commit | 62c36687f24422eca99f082165437d8ee9f4b254 (patch) | |
tree | 403f2919dbd9976313e95a663a10de9bcfb5c995 /www/miniflux | |
parent | 3cb66e78e641cd748ff74b14acb4dc95038f19cd (diff) | |
download | ports-62c36687f24422eca99f082165437d8ee9f4b254.tar.gz ports-62c36687f24422eca99f082165437d8ee9f4b254.zip |
Fix stop exec of the miniflux rc script and enable syslog logging.
PR: 237998
Submitted by: decke
Notes
Notes:
svn path=/head/; revision=502118
Diffstat (limited to 'www/miniflux')
-rw-r--r-- | www/miniflux/files/miniflux.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/www/miniflux/files/miniflux.in b/www/miniflux/files/miniflux.in index a0e4c53219b6..80340ad8876e 100644 --- a/www/miniflux/files/miniflux.in +++ b/www/miniflux/files/miniflux.in @@ -22,13 +22,14 @@ load_rc_config $name : ${miniflux_enable="NO"} -# Miniflux doesn’t use any config file, only environment variables. +# Miniflux doesn't use any config file, only environment variables. set -a . %%PREFIX%%/etc/miniflux.env set +a pidfile="/var/run/miniflux.pid" -command=/usr/sbin/daemon -command_args=" -p ${pidfile} -u miniflux %%PREFIX%%/bin/miniflux | /usr/bin/logger -t miniflux &" +procname="%%LOCALBASE%%/bin/miniflux" +command="/usr/sbin/daemon" +command_args="-f -T miniflux -p ${pidfile} -u miniflux %%LOCALBASE%%/bin/miniflux" run_rc_command "$1" |