Bug 194442

Summary: net/syncthing STNORESTART in rc script
Product: Ports & Packages Reporter: andy
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Many People Flags: andy: maintainer-feedback? (swills)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description andy 2014-10-18 03:13:28 UTC
The rc script sets the STNORESTART environment variable, which should only be set if the init system restarts the daemon automatically. So when you click the button to restart in the web UI, syncthing just exits.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-18 03:13:28 UTC
Auto-assigned to maintainer swills@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-18 14:09:29 UTC
A commit references this bug:

Author: swills
Date: Sat Oct 18 14:08:53 UTC 2014
New revision: 371125
URL: https://svnweb.freebsd.org/changeset/ports/371125

Log:
  net/syncthing: remove STNORESTART from rc script

  PR:		194442
  Reported by:	Andy Balholm <andy@balholm.com>

Changes:
  head/net/syncthing/Makefile
  head/net/syncthing/files/syncthing.in
Comment 3 Steve Wills freebsd_committer freebsd_triage 2014-10-18 14:10:22 UTC
This was needed with older versions but seems not to be needed any more. Fix committed, thanks!