.TP
.I -c|--chuid
Change to this username/uid before starting the process. You can also
-specify a group by appending a '.', then the group or gid in the same way
-as you would for the `chown' command (user.group). When using this option
+specify a group by appending a ':', then the group or gid in the same way
+as you would for the `chown' command (user:group). When using this option
you must realize that the primary and suplimental groups are set as well,
even if the `group' options is not specified. The group option is only for
groups that the user isn't normally a member of (like adding per/process
Options (at least one of --exec|--pidfile|--user is required):
-x|--exec <executable> program to start/check if it is running\n\
-p|--pidfile <pid-file> pid file to check\n\
- -c|--chuid <name|uid[.group|gid]>
+ -c|--chuid <name|uid[:group|gid]>
change to this user/group before starting process\n\
-u|--user <username>|<uid> stop processes owned by this user\n\
-n|--name <process-name> stop processes with this name\n\
break;
case 'c': /* --chuid <username>|<uid> */
changeuser = strdup(optarg); /* because we need to modify */
- changegroup = strchr(changeuser, '.');
+ changegroup = strchr(changeuser, ':');
if (changegroup != NULL) {
changegroup[0] = '\0';
changegroup++;