Home
last modified time | relevance | path

Searched refs:PIDFILE (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-13.1/contrib/ntp/scripts/rc/
H A Dntpd4 PIDFILE=/var/run/ntpd.pid
7 NTPD_OPTS="-g -u $USER:$GROUP -p $PIDFILE"
10 if [ -r $PIDFILE ]; then
11 echo "ntpd seems to be already running under pid `cat $PIDFILE`."
12 echo "Delete $PIDFILE if this is not the case.";
34 [ -e $PIDFILE ] && rm $PIDFILE
40 if [ ! -r $PIDFILE ]; then
45 PID=`cat $PIDFILE`
55 rm $PIDFILE
66 if [ -r $PIDFILE ]; then
[all …]
/freebsd-13.1/contrib/netbsd-tests/net/ndp/
H A Dt_ra.sh41 PIDFILE=./rump.rtadvd.pid
77 local PIDFILE=${1}
80 while [ -f ${PIDFILE} ]
184 wait_term ${PIDFILE}
196 wait_term ${PIDFILE}
206 wait_term ${PIDFILE}
366 wait_term ${PIDFILE}
426 wait_term ${PIDFILE}
492 wait_term ${PIDFILE}
570 wait_term ${PIDFILE}
[all …]
/freebsd-13.1/crypto/openssh/regress/
H A Dreconfigure.sh26 PID=`$SUDO cat $PIDFILE`
27 rm -f $PIDFILE
32 while [ ! -f $PIDFILE -a $i -lt 10 ]; do
37 test -f $PIDFILE || fatal "sshd did not restart"
48 PID=`$SUDO cat $PIDFILE`
49 rm -f $PIDFILE
54 while [ ! -f $PIDFILE -a $i -lt 10 ]; do
59 test -f $PIDFILE || fatal "sshd did not restart"
H A Dtest-exec.sh362 if [ -f $PIDFILE ]; then
363 pid=`$SUDO cat $PIDFILE`
373 while [ -f $PIDFILE -a $i -lt 5 ]; do
377 if test -f $PIDFILE; then
474 PIDFILE=$OBJ/pidfile
485 PidFile $PIDFILE
700 while [ ! -f $PIDFILE -a $i -lt 10 ]; do
705 test -f $PIDFILE || fatal "no sshd running on port $PORT"
/freebsd-13.1/crypto/openssh/
H A Dopensshd.init.in16 PIDFILE=$piddir/sshd.pid
18 [ X$PidFile = X ] || PIDFILE=$PidFile
22 if [ -r $PIDFILE -a ! -z ${PIDFILE} ]; then
23 PID=`${CAT} ${PIDFILE}`
/freebsd-13.1/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in138 local PIDFILE="$1"; shift
156 ln -sf "$PIDFILE" /run/sendsigs.omit.d/zed
161 daemon --pidfile "$PIDFILE" "$DAEMON_BIN" "$@"
179 local PIDFILE="$1"
188 [ "$ret" = 0 ] && rm -f "$PIDFILE"
193 killproc -p "$PIDFILE" "$DAEMON_NAME"
195 [ "$ret" = 0 ] && rm -f "$PIDFILE"
209 local PIDFILE="$1"
219 status -p "$PIDFILE" "$DAEMON_NAME"
231 local PIDFILE="$1"
[all …]
/freebsd-13.1/tests/sys/geom/class/gate/
H A Dggate_test.sh3 PIDFILE=ggated.pid
38 atf_check ggated -p $PORT -F $PIDFILE $CONF
188 if [ -f "$PIDFILE" ]; then
189 pkill -F "$PIDFILE"
190 rm $PIDFILE
/freebsd-13.1/contrib/ntp/ntpd/
H A Dcmd_args.c92 if (HAVE_OPT( PIDFILE )) in getCmdOpts()
93 stats_config(STATS_PID_FILE, OPT_ARG( PIDFILE ), 0); in getCmdOpts()
H A Dntpd-opts.h239 # ifdef PIDFILE
240 # warning undefining PIDFILE due to option name conflict
241 # undef PIDFILE
323 # undef PIDFILE
/freebsd-13.1/sbin/natd/
H A Dnatd.h15 #define PIDFILE "/var/run/natd.pid" macro
H A Dnatd.c175 pidName = PIDFILE; in main()
/freebsd-13.1/usr.sbin/cron/cron/
H A Dpathnames.h57 #define PIDFILE "%scron.pid" macro
H A Dcron.c84 (void) snprintf(pidfile, sizeof(pidfile), PIDFILE, PIDDIR); in open_pidfile()
/freebsd-13.1/contrib/openbsm/bin/auditdistd/
H A Dtoken.l69 pidfile { DP; return PIDFILE; }
H A Dparse.y88 %token PIDFILE
147 pidfile_statement: PIDFILE STR
/freebsd-13.1/sbin/hastd/
H A Dtoken.l58 pidfile { DP; return PIDFILE; }
H A Dparse.y89 %token CONTROL PIDFILE LISTEN REPLICATION CHECKSUM COMPRESSION METAFLUSH
170 pidfile_statement: PIDFILE STR
/freebsd-13.1/usr.sbin/ctld/
H A Dtoken.l77 pidfile { return PIDFILE; }
H A Dparse.y66 %token PATH PCP PIDFILE PORT PORTAL_GROUP REDIRECT SEMICOLON SERIAL
153 pidfile: PIDFILE STR
/freebsd-13.1/usr.sbin/unbound/
H A Dconfig.h746 #define PIDFILE "/var/unbound/unbound.pid" macro
/freebsd-13.1/usr.sbin/uhsoctl/
H A Duhsoctl.c76 #define PIDFILE "/var/run/uhsoctl.%s.pid" macro
1295 snprintf(ctx->pidfile, 127, PIDFILE, ctx->ifnam); in daemonize()
1326 snprintf(pidfile, 127, PIDFILE, ifnam); in send_disconnect()
/freebsd-13.1/contrib/unbound/
H A Dconfig.h.in771 #undef PIDFILE
H A Dconfigure.ac226 AC_DEFINE_UNQUOTED(PIDFILE, ["$hdr_pid"], [default pidfile location]) definition
/freebsd-13.1/contrib/unbound/util/
H A Dconfig_file.c188 if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit; in config_create()
/freebsd-13.1/contrib/ntp/
H A DChangeLog1375 * [Bug 2513] Remove any PIDFILE in finish().

12