rc.d

  1. CleanCut

    Solved Why won't my "new-style" rc script start at boot?

    On pfSense 2.2.4 (FreeBSD 10.1), my custom init script filebeat_wrapper won't start at boot. According to rcorder it should start right after boot: # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* (snip) /etc/rc.d/SERVERS /etc/rc.d/DAEMON /etc/rc.d/LOGIN /usr/local/etc/rc.d/filebeat_wrapper (snip)...
  2. Hornpipe2

    Using the base Subversion server

    As of FreeBSD 10.0, a "light" version of Subversion has been integrated into the base system. It includes most of the svn tools, though the filenames have been changed (e.g. "svnlite" instead of "svn", "svnliteserve" instead of "svnserve" etc.) Most people probably would use this for the...
  3. M

    Automation of creating rc.d

    Hey Forum, Lately I often need to create rc.d for a new services, and for educational purpose or thin rc.d profiling it's ok, moreover over time it takes less effort and time and result is more satisfying. But sometimes I just want a simple daemon to be ported and waste my time to do repetitive...
  4. forquare

    Solved Troubleshooting service startup

    Good afternoon all, I've installed Gitlab into a FreeBSD 10.2 Jail and got everything working nicely, except for the fact that when the Jail starts, Gitlab doesn't...All of the other related services start (redis, postgresql, and nginx). The rc script I'm using is from here and I've placed it...
  5. justrjlewis

    rc.d daemon not processing command flags

    I started working with a great web server called caddy and started working on an rc.d script to get it running as a service. I put together a script that mostly worked seen here. The bug in this original script was that the service would start on boot/reboot, but it didn’t play well with the...
  6. DimMan

    Solved rc.d script not run at startup

    I try start circus via rc.d script I create script [root@comp ~]# cat /usr/local/etc/rc.d/circusd #!/bin/sh . /etc/rc.subr name="circusd" rcvar=circusd_enable start_cmd="${name}_start" stop_cmd=":" load_rc_config $name : ${circusd_enable="NO"} ...
  7. patpro

    PF How to handle PF rules for process launching after PF (openvpn for example)?

    Hello, On various servers, I'm facing problems with processes like security/openvpn or Jails and their interaction with pf. They require specific rules involving network interface or IP address that do not exists yet on the system when pf starts. Hence for security/openvpn I've got this at...
  8. rfraile

    Solved Execute rc.d script at shutdown

    Hello, I'm trying to install a rc.d script to run at startup and shutdown, but it only run at startup. Reducing the script to a skeleton test, I have the following: #!/bin/sh - # PROVIDE: test # REQUIRE: FILESYSTEMS # KEYWORD: nojail shutdown . /etc/rc.subr name="test" rcvar="test_enable"...
Top