Bug 204677

Summary: net/minidlna: [patch] simplified startup and fixed service stopping.
Product: Ports & Packages Reporter: c.kworr
Component: Individual Port(s)Assignee: Gleb Smirnoff <glebius>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: glebius, w.schwarzenfeld
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (glebius)
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
fixes for startup script none

Description c.kworr 2015-11-19 13:51:57 UTC
Created attachment 163328 [details]
fixes for startup script

This patch addresses following issues:

1. minidlnad has no support for -u flag so stop using it.
2. Instead of relaying to minidlnad switching to restricted user force RC to run minidlnad under $minidlna_user.
3. minidlnad doesn't quit for me on SIGTERM thus adding sig_stop=3. I'm using KQUEUE patch, can this be it?
Comment 1 William Grzybowski freebsd_committer freebsd_triage 2015-11-19 16:59:24 UTC
3. SIGSTOP doesn't make sense to me. Do you know what it actually does? And yes, thats high likely because of kqueue patch.
Comment 2 c.kworr 2015-11-19 21:40:21 UTC
Yep, my bad. Already figured that out.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-01-12 23:43:17 UTC
I think this could closed.
Comment 4 Gleb Smirnoff freebsd_committer freebsd_triage 2019-01-09 04:17:27 UTC
1. minidlna has -u 
3. The kqueue patch is now longer.