Category Archives: Sysadmin
Init Script for Daemonizing Non-Forking Processes
Sometimes you have an executable which does not fork to the background, but you need to control it with init scripts, so that it does indeed run in the background. Here’s a pretty generic init script for that. It allows you to configure these:
1 2 3 4 5 6 7 |
DAEMON_NAME="My Little Daemon" DAEMON_EXECUTABLE="/opt/my_daemon/my_daemon" DAEMON_OPTIONS="" DAEMON_HOMEDIR="/opt/my_daemon" DAEMON_PIDFILE="/var/run/my_daemon.pid" DAEMON_LOGFILE="/var/log/my_daemon.log" INIT_SLEEPTIME="2" |
Continue reading Init Script for Daemonizing Non-Forking Processes
Pronounceable Password Generator
This page will generate nice, pronounceable and thus more memorable passwords using JavaScript:
Thanks to Tom Van Vleck