/[baselayout]/trunk/src/start-stop-daemon.c
Gentoo

Log of /trunk/src/start-stop-daemon.c

Parent Directory Parent Directory | Revision Log Revision Log



Revision 2984 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 13:51:57 2007 UTC (7 years, 1 month ago) by uberlord
File length: 23710 byte(s)
Diff to previous 2966
__rc_service_daemon_set is now a private function

Revision 2966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 09:04:10 2007 UTC (7 years, 1 month ago) by uberlord
File length: 23680 byte(s)
Diff to previous 2947
rc_set_service_daemon -> rc_service_daemon_set

Revision 2947 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 26 10:46:44 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23680 byte(s)
Diff to previous 2937
Fix Makefile for pmake, document s-s-d options and increase usage gap

Revision 2937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 26 07:30:00 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23250 byte(s)
Diff to previous 2936
Handle fstab with spaces

Revision 2936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 26 07:05:33 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23255 byte(s)
Diff to previous 2935
rc_is_env is now rc_env_bool and just works with boolean values.

Revision 2935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 23:17:25 2007 UTC (7 years, 2 months ago) by vapier
File length: 23260 byte(s)
Diff to previous 2928
unify verbose/quiet handling

Revision 2928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 17:30:07 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23319 byte(s)
Diff to previous 2927
Revert last patch

Revision 2927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 17:19:02 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23327 byte(s)
Diff to previous 2923
We no longer use bool in our public headers, using int instead.

Revision 2923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 25 16:21:38 2007 UTC (7 years, 2 months ago) by vapier
File length: 23319 byte(s)
Diff to previous 2912
Add support for describing the options in the C programs.

Revision 2912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 24 12:11:50 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23143 byte(s)
Diff to previous 2911
Remove debug lines

Revision 2911 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 24 12:09:43 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23205 byte(s)
Diff to previous 2897
Split our rc commands out into general use vs service commands

Revision 2897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 16:27:37 2007 UTC (7 years, 2 months ago) by uberlord
File length: 22952 byte(s)
Diff to previous 2882
    Added the checkown applet based on the work by Renato Caldas, #192682
    checkdir ensures that the specified files (or directories) are owned
    by the current user/group or as specified on the command line. You can
    optionally check permissions too.

Revision 2882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 18 11:36:55 2007 UTC (7 years, 2 months ago) by uberlord
File length: 23125 byte(s)
Diff to previous 2843
    API change! rc_strlist_add and friends now take char *** instead of
    char ** and return a pointer to the item added instead of the new
    list head. This is so we can easily tell if the item was successfully
    added or not instead of iterating through the list looking for it.

    list = rc_strlist_add (list, item);
    becomes
    rc_strlist_add (&list, item);

Revision 2843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 20 09:08:06 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23141 byte(s)
Diff to previous 2838
No point in having to lots of get the user code.

Revision 2838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 11:01:18 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23365 byte(s)
Diff to previous 2837
Intergrate our standard options

Revision 2837 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 17 10:54:04 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23367 byte(s)
Diff to previous 2828
Allow --user and --group to also mean --chuid and --chgrp

Revision 2828 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 9 14:33:20 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23436 byte(s)
Diff to previous 2799
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code.

Revision 2799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 31 16:05:56 2007 UTC (7 years, 3 months ago) by uberlord
File length: 23922 byte(s)
Diff to previous 2716
    All our binaries are now mulicalls into rc, which makes our on disk size
    a lot smaller.

Revision 2716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 27 16:02:25 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23887 byte(s)
Diff to previous 2709
Improve spelling

Revision 2709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 11:28:45 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23889 byte(s)
Diff to previous 2708
Remove debug line

Revision 2708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 16 11:05:42 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23937 byte(s)
Diff to previous 2699
Stop using getimeofday for timeouts incase the clock changes.

Revision 2699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 12:37:13 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23884 byte(s)
Diff to previous 2698
Add --startas back to s-s-d, #175980, #175981.

Revision 2698 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 14 12:24:18 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23836 byte(s)
Diff to previous 2676
    Allow time for pidfiles to be created, #178274.
    Use int instead of char for getopt, #178084 thanks to drizztbsd.

Revision 2676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 2 12:33:56 2007 UTC (7 years, 6 months ago) by uberlord
File length: 23455 byte(s)
Diff to previous 2657
    SSD_NICELEVEL can now affect the nicelevel for daemons started
    by start-stop-daemon, #175397.

Revision 2657 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 25 18:12:49 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23298 byte(s)
Diff to previous 2634
Don't abort select when on signals

Revision 2634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 19 14:54:35 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23287 byte(s)
Diff to previous 2587
strdup -> rc_xstrdup

Revision 2587 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 13 09:21:16 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23283 byte(s)
Diff to previous 2586
s-s-d now allows --signal to be used without --stop and --oknodo. man page updated accordingly

Revision 2586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 13 06:43:00 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23016 byte(s)
Diff to previous 2577
Fix module loading, #174360. s-s-d now changes group when changing user, #174362.

Revision 2577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 7 months ago) by uberlord
File length: 22976 byte(s)
Diff to previous 2569
Cuddle up to LKML C style

Revision 2569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 11:24:58 2007 UTC (7 years, 7 months ago) by uberlord
File length: 27125 byte(s)
Diff to previous 2563
Fix indentation

Revision 2563 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 9 16:53:21 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23982 byte(s)
Diff to previous 2549
Use names instead of numbers for reporting signals and trap signals in rc

Revision 2549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 5 15:01:09 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23733 byte(s)
Diff to previous 2547
We now compile on OpenBSD (no idea if it works or not yet)

Revision 2547 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 7 months ago) by uberlord
File length: 23678 byte(s)
    Rewrite the core parts in C. We now provide librc so other programs can
    query runlevels, services and state without using bash. We also provide
    libeinfo so other programs can easily use our informational functions.

    As such, we have dropped the requirement of using bash as the init script
    shell. We now use /bin/sh and have strived to make the scripts as portable
    as possible. Shells that work are bash and dash. busybox works provided
    you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
    should disable find too.
    zsh and ksh do not work at this time.

    Networking support is currently being re-vamped also as it was heavily bash
    array based. As such, a new config format is available like so
    config_eth0="1.2.3.4/24 5.6.7.8/16"
    or like so
    config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

    We will still support the old bash array format provided that /bin/sh IS
    a link it bash.

    ChangeLog for baselayout-1 can be found in our SVN repo.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sticky Revision:
(Current path doesn't exist after revision 3108)

  ViewVC Help
Powered by ViewVC 1.1.20