services daemons etc rc.d rc.conf

  1. F

    Solved Using rc.d script with /usr/sbin/daemon to start and stop a script

    I am trying to write an rc.d script to start and stop a (Python) script. Starting the command seems to be working, but stopping it is not yet the way I want. My goal is to ensure the script receives a SIGTERM signal when it should shut down; that seems not to be the case; I think only the...
  2. F

    Solved Running Emacs as a daemon

    Hi guys, I would like to start emacs as a daemon at boot, using the configuration file of an user named "alex". Here is my rc.dscript, in /usr/local/etc/rc.d/emacsd #!/bin/sh # PROVIDE: emacsd # REQUIRE: login # after login # Emacs daemon . /etc/rc.subr name="emacsd" rcvar=emacsd_enable...
  3. D

    Solved daemon not killing (grand)child process on service stop

    Hello, I tried to follow this tutorial to make a rc.d script for a program I would like to run as a service in one of my jails (In this case, a keycloak server - installed manually since it is not available as a port/package yet.)...
  4. Basil Hendroff

    rc.d script - autobooted or invoked interactively?

    Hello! First time poster. I'm new to rc.d scripting and have been studying the various resources and tinkering for several months now, but I'm not confident enough to answer the following question: Is it possible for an rc.d initialisation script to determine whether it has been autobooted...
  5. J

    Service runs with su, not with daemon

    Greetings, Hopefully I am posting in the right place, if not please let me know! The goal is to run a python framework (odoo) as a service via daemon inside a jail. The topology is as follows: [Internet] --> [Host] -- (pf)--> [Jail with HAProxy] --> [Jail with Odoo] For reference, I am using...
  6. justrjlewis

    Solved rc.d script for caddy server - not quite working

    I followed the tutorial for practical rc.d scripting to enable caddy web server on my DO FreeBSD 10.2 droplet. It's very simple, which is probably why it's not quite working as expected. So let me start by posting my questions, then I'll show my code. The pre-commit check list says: 2.Does...
  7. I

    'virecover' service: No information about it

    I have FreeBSD 10. When running service -e it shows the service /etc/rc.d/virecover A glance to /etc/defaults/rc.conf shows it with the following description: virecover_enable="YES" # Perform housekeeping for the vi(1) editor There is no information at all anywhere about this service...
Top