Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/netbsd-tests/net/ndp/
H A Dt_ra.sh41 PIDFILE=./rump.rtadvd.pid
77 local PIDFILE=${1}
80 while [ -f ${PIDFILE} ]
171 start_rtadvd $RUMPSRV $PIDFILE
183 atf_check -s exit:0 kill -TERM `cat ${PIDFILE}`
184 wait_term ${PIDFILE}
190 start_rtadvd $RUMPSRV $PIDFILE
195 atf_check -s exit:0 kill -TERM `cat ${PIDFILE}`
196 wait_term ${PIDFILE}
204 if [ -f ${PIDFILE} ]; then
[all …]
/freebsd/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.sh447 if [ -f $PIDFILE ]; then
448 pid=`$SUDO cat $PIDFILE`
458 while [ -f $PIDFILE -a $i -lt 5 ]; do
462 if test -f $PIDFILE; then
595 PIDFILE=$OBJ/pidfile
606 PidFile $PIDFILE
872 while [ ! -f $PIDFILE -a $i -lt 10 ]; do
877 test -f $PIDFILE || fatal "no sshd running on port $PORT"
/freebsd/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/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in139 local PIDFILE="$1"; shift
144 start-stop-daemon --start --quiet --pidfile "$PIDFILE" \
155 if [ -f "$PIDFILE" ] && [ -d /run/sendsigs.omit.d ]
157 ln -sf "$PIDFILE" /run/sendsigs.omit.d/zed
162 daemon --pidfile "$PIDFILE" "$DAEMON_BIN" "$@"
180 local PIDFILE="$1"
187 --pidfile "$PIDFILE" --name "$DAEMON_NAME"
189 [ "$ret" = 0 ] && rm -f "$PIDFILE"
194 killproc -p "$PIDFILE" "$DAEMON_NAME"
196 [ "$ret" = 0 ] && rm -f "$PIDFILE"
[all …]
/freebsd/tests/sys/geom/class/gate/
H A Dggate_test.sh1 PIDFILE=ggated.pid
24 atf_check ggated -p $port -F $PIDFILE $CONF
70 atf_check ggated -p $port -F $PIDFILE $CONF
221 if [ -f "$PIDFILE" ]; then
222 pkill -F "$PIDFILE"
223 rm $PIDFILE
/freebsd/contrib/ntp/ntpd/
H A Dcmd_args.c92 if (HAVE_OPT( PIDFILE )) in getCmdOpts()
93 stats_config(STATS_PID_FILE, OPT_ARG( PIDFILE ), 1); in getCmdOpts()
H A Dntpd-opts.h247 # ifdef PIDFILE
248 # warning undefining PIDFILE due to option name conflict
249 # undef PIDFILE
331 # undef PIDFILE
/freebsd/usr.sbin/cron/cron/
H A Dpathnames.h59 #define PIDFILE "cron.pid" macro
H A Dcron.c75 const char *pidfile = PIDDIR PIDFILE; in open_pidfile()
/freebsd/sbin/natd/
H A Dnatd.h13 #define PIDFILE "/var/run/natd.pid" macro
H A Dnatd.c173 pidName = PIDFILE; in main()
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dtoken.l69 pidfile { DP; return PIDFILE; }
H A Dparse.y88 %token PIDFILE
147 pidfile_statement: PIDFILE STR
/freebsd/sbin/hastd/
H A Dtoken.l56 pidfile { DP; return PIDFILE; }
H A Dparse.y87 %token CONTROL PIDFILE LISTEN REPLICATION CHECKSUM COMPRESSION METAFLUSH
168 pidfile_statement: PIDFILE STR
/freebsd/usr.sbin/ctld/
H A Dtoken.l75 pidfile { return PIDFILE; }
H A Dparse.y64 %token PATH PCP PIDFILE PORT PORTAL_GROUP REDIRECT SEMICOLON SERIAL
151 pidfile: PIDFILE STR
/freebsd/usr.sbin/uhsoctl/
H A Duhsoctl.c74 #define PIDFILE "/var/run/uhsoctl.%s.pid" macro
1291 snprintf(ctx->pidfile, 127, PIDFILE, ctx->ifnam); in daemonize()
1322 snprintf(pidfile, 127, PIDFILE, ifnam); in send_disconnect()
/freebsd/lib/libunbound/
H A Dconfig.h811 #define PIDFILE "/var/unbound/unbound.pid" macro
/freebsd/contrib/unbound/
H A Dconfig.h.in892 #undef PIDFILE
H A Dconfigure.ac241 AC_DEFINE_UNQUOTED(PIDFILE, ["$hdr_pid"], [default pidfile location]) definition
/freebsd/contrib/unbound/util/
H A Dconfig_file.c201 if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit; in config_create()
/freebsd/contrib/ntp/
H A DChangeLog1615 * [Bug 2513] Remove any PIDFILE in finish().

12