rc.d

  1. R

    rc.d default startup order for packages

    I have a very basic system setup comprising apache24, mysql-server and tomcat8. But it won't boot properly. Tomcat is started before mysql-server and the web app fails to start. rcorder /etc/rc.d/* /usr/local/etc/rc.d/* gives: ... /etc/rc.d/LOGIN /usr/local/etc/rc.d/tomcat8...
  2. P

    Other No chdir happening for rc.d script

    I've hit a wall trying to understand why the ${name}_chdir variable is not working for me. Finally, after letting my script run with -xv, I see that the cd command is not even being run in my case. Here is my script: #!/bin/sh set -xv exec 1>/tmp/awning.rclog 2>&1 # REQUIRE: NETWORKING...
  3. ericx

    /boot/entropy and zfs bootpool

    When installing a new FreeBSD 11.0 with zfs root, the installer creates 2 zfs pools and puts the contents of /boot in zfs:bootpool/boot. /boot is a symlink pointing to /bootpool/boot Normal boot process then does not mount bootpool (nice little security extra there) so the /boot symlink points...
  4. 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)...
  5. 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...
  6. 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...
  7. F

    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...
  8. 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...
  9. 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"} ...
  10. 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...
  11. 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