Bug 194442 - net/syncthing STNORESTART in rc script
Summary: net/syncthing STNORESTART in rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-18 03:13 UTC by andy
Modified: 2014-10-18 14:10 UTC (History)
0 users

See Also:
andy: maintainer-feedback? (swills)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!