Roy Marples
|
a52472c3c3
|
Fix ordering, #139 thanks to Matthias.
|
2009-01-12 10:24:47 +00:00 |
|
Roy Marples
|
a33554ab18
|
Copyright
|
2009-01-11 17:17:04 +00:00 |
|
Roy Marples
|
baf0ce64f5
|
Ensure that $HOME and $USER are always set, #139
|
2009-01-11 17:09:13 +00:00 |
|
Roy Marples
|
f4b8366942
|
Parse retry schedule correctly, #129. Thanks to vaeth.
|
2008-12-28 14:05:33 +00:00 |
|
Roy Marples
|
53e2bec385
|
We should match on the correct args for stopping daemons when pidfiles
are not being used.
|
2008-12-23 10:15:41 +00:00 |
|
Roy Marples
|
fe509db660
|
Save a needless malloc when re-creating PATH.
|
2008-11-12 10:55:42 +00:00 |
|
Roy Marples
|
937b1b2abf
|
Don't set user info unless stated.
|
2008-11-11 19:47:30 +00:00 |
|
Roy Marples
|
eafbed0366
|
Fix stopping with a faulty pidfile.
|
2008-11-10 20:57:03 +00:00 |
|
Roy Marples
|
8a76c27325
|
Fix sending signals, #121.
|
2008-11-03 21:06:45 +00:00 |
|
Roy Marples
|
895c4f4149
|
Plug a leak and expand exec also.
|
2008-10-30 17:57:58 +00:00 |
|
Roy Marples
|
20380d3144
|
Allow ~ and ~user to expand for chdir and chroot.
|
2008-10-30 17:40:48 +00:00 |
|
Roy Marples
|
e1341e372b
|
Fix --name when stopping, Gentoo #243088.
|
2008-10-30 16:26:05 +00:00 |
|
Roy Marples
|
53ddd6ca96
|
Properly set PAM enviornment variables after opening session.
Without this change, modules like pam_mktemp or pam_env and similar
will be unable to change users' environments, like they are supposed
to.
|
2008-10-29 21:35:45 +00:00 |
|
Roy Marples
|
cb44b0a46c
|
#ifdef atexit cleanups calling free as the OS should do this for us, but valgrind debuggers need it.
|
2008-10-06 15:02:32 +00:00 |
|
Roy Marples
|
c3e192a834
|
Stop ssd from waiting by default - most daemons are good now.
|
2008-09-26 23:58:57 +00:00 |
|
Roy Marples
|
53693367df
|
Our match arguments could be different from the exec arguments, as only the kernel should set script arguments.
|
2008-09-22 12:14:47 +00:00 |
|
Roy Marples
|
554d2fea19
|
Allow interpreted daemons to detect interperter options.
|
2008-09-22 10:45:01 +00:00 |
|
Roy Marples
|
80a17eb596
|
Clean up some compile warnings.
|
2008-09-18 13:09:51 +00:00 |
|
Roy Marples
|
39304745d4
|
Allow interpreted daemons to use s-s-d a little easier.
|
2008-09-17 16:56:23 +00:00 |
|
Roy Marples
|
fabee4dc2d
|
Actually set the umask.
|
2008-08-20 10:19:03 +00:00 |
|
Roy Marples
|
1ab1e9328a
|
Add -k,--umask option, Gentoo #232455.
|
2008-08-20 10:02:11 +00:00 |
|
Roy Marples
|
cea206014d
|
Attempt to make s-s-d simpler by not enforcing the need for a full path and maybe working better with interpreted scripts.
|
2008-07-27 11:30:49 +00:00 |
|
Roy Marples
|
53401cd35f
|
STAILQ -> TAILQ
|
2008-07-08 10:48:21 +00:00 |
|
Roy Marples
|
aaaa0b50d8
|
Be quiet when checking at start.
|
2008-05-27 16:48:47 +00:00 |
|
Roy Marples
|
ca6f289c80
|
When stopping with a pidfile, only read the pid once incase it vanishes but the process still hangs around.
|
2008-05-27 16:42:28 +00:00 |
|
Roy Marples
|
f0aacec02e
|
Cast to unsigned char for ctype calls.
|
2008-04-17 10:19:58 +00:00 |
|
Roy Marples
|
15d34d0a16
|
Add license blurb to a few files and append my email to my name.
|
2008-03-26 17:53:37 +00:00 |
|
Roy Marples
|
5f091395c7
|
Typo.
|
2008-03-19 19:59:50 +00:00 |
|
Roy Marples
|
6159a32f39
|
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
|
2008-03-19 19:57:24 +00:00 |
|
Roy Marples
|
4c14666423
|
Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls.
|
2008-03-17 13:25:56 +00:00 |
|
Roy Marples
|
50a7697bf2
|
rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.
|
2008-03-17 09:59:52 +00:00 |
|
Roy Marples
|
cb9da6a262
|
Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF.
|
2008-03-16 17:00:56 +00:00 |
|
Roy Marples
|
40e12f6ba0
|
RC_SERVICE now points to the service file, so daemons can recall us directly.
|
2008-03-11 15:00:16 +00:00 |
|
Roy Marples
|
bf2cebf2d8
|
With --quiet, we should quiet the daemon we're starting too.
|
2008-02-25 10:51:05 +00:00 |
|
Roy Marples
|
d1f7f0a304
|
Force the specification of a pidfile or process name if daemon is a script. Alternatively, document the use of starting the script interpreter and passing the daemon as an option.
|
2008-02-24 23:09:15 +00:00 |
|
Roy Marples
|
ad780077d2
|
Welcome to 2008.
|
2008-02-22 12:07:34 +00:00 |
|
Roy Marples
|
f35f788187
|
Fix verbose without --exec.
|
2008-02-19 21:45:27 +00:00 |
|
Roy Marples
|
f95e0b2c3e
|
We should remove stale pidfiles and service daemon info if we didn't find anything to stop, bug #25.
|
2008-02-19 10:18:26 +00:00 |
|
Roy Marples
|
27f97f2106
|
We need to be able to locate pids by argv, instead of just argv0.
|
2008-02-17 15:12:00 +00:00 |
|
Roy Marples
|
567f8e33f2
|
Just use the extern applet var.
|
2008-02-11 20:14:09 +00:00 |
|
Roy Marples
|
fef5d0af59
|
Constantise as much as possible so that it reduces COW usage.
|
2008-02-01 19:54:46 +00:00 |
|
Roy Marples
|
f2ce40d90b
|
Use sigaction over signal.
|
2008-02-01 13:20:19 +00:00 |
|
Roy Marples
|
84ad9a40a6
|
Use the variable instead of type for sizeof.
|
2008-01-30 15:01:37 +00:00 |
|
Roy Marples
|
649a710552
|
Quiet some more lint warnings.
|
2008-01-22 11:07:39 +00:00 |
|
Roy Marples
|
07728abbc1
|
Checking first char for null is more efficient than strlen.
|
2008-01-21 15:30:40 +00:00 |
|
Mike Frysinger
|
6aab712cb4
|
strip trailing newlines
|
2008-01-14 05:05:22 +00:00 |
|
Roy Marples
|
abde759d5b
|
Re-indent to a standard tw of 8.
|
2008-01-11 15:51:40 +00:00 |
|
Roy Marples
|
ddf25cbcb7
|
Compile without warnings on NetBSD
|
2008-01-09 23:22:04 +00:00 |
|
Roy Marples
|
8afb86a5de
|
Set include paths in Makefile instead of .c files
|
2008-01-06 13:47:39 +00:00 |
|
Roy Marples
|
e6c9bdf2a3
|
Add the missing changes from the recent Makefile updates
|
2008-01-05 20:43:32 +00:00 |
|