On 2014/12/10 00:01, Max Leigh wrote: > Hello all, > > I'm using transmission-2.84 (non-GTK, non-QT) with OpenBSD 5.6 release. > > transmission-daemon doesn't seem to be starting at boot time. > > Here is my rc.conf.local > -- > $ cat /etc/rc.conf.local > > ntpd_flags= > xdm_flags= > transmission_daemon_flags= > -- > > I rebooted, then checked to see if it was running: > -- > $ sudo /etc/rc.d/transmission_daemon check > -- > > It does not seem to be running: > -- > $ echo $? > 1 > -- > > Something I'm doing wrong? > > Max >
For rc scripts from packages, you need to add them to a pkg_scripts line in rc.conf.local. In many cases you don't need to set XX_flags for these unless you want to override the default flags. rc scripts from the base OS use the method you have tried. This is easier in -current because you can use "rcctl" instead, which already has knowledge of which rc scripts come from the base OS, so it can pick the correct method for each script.
