Displaying 2 results from an estimated 2 matches for "pidfilebase".
2009 Apr 20
0
upslog patch
...- Example: -s myups at server\n");
printf(" -u <user> - Switch to <user> if started as root\n");
@@ -371,6 +372,7 @@
char *prog = NULL;
const char *user = NULL;
struct passwd *new_uid = NULL;
+ const char *pidfilebase = "upslog";
logformat = DEFAULT_LOGFORMAT;
user = RUN_AS_USER;
@@ -379,7 +381,7 @@
prog = argv[0];
- while ((i = getopt(argc, argv, "+hs:l:i:f:u:V")) != -1) {
+ while ((i = getopt(argc, argv, "+hs:l:i:f:u:Vp:")) != -1) {...
2009 May 05
3
[nut-commits] svn commit r1837 - trunk/clients
...server\n");
> printf(" -u <user> - Switch to <user> if started as root\n");
> @@ -372,6 +373,7 @@
> time_t now, nextpoll = 0;
> const char *user = NULL;
> struct passwd *new_uid = NULL;
> + const char *pidfilebase = "upslog";
>
> logformat = DEFAULT_LOGFORMAT;
> user = RUN_AS_USER;
> @@ -380,7 +382,7 @@
>
> prog = argv[0];
>
> - while ((i = getopt(argc, argv, "+hs:l:i:f:u:V")) != -1) {
> + while ((i = getopt(argc, argv, "+h...