/freebsd/contrib/ntp/scripts/rc/ |
H A D | ntpd | 4 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 D | t_ra.sh | 41 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 D | reconfigure.sh | 26 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 D | test-exec.sh | 447 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 D | opensshd.init.in | 16 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 D | zfs-functions.in | 139 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 D | ggate_test.sh | 1 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 D | cmd_args.c | 92 if (HAVE_OPT( PIDFILE )) in getCmdOpts() 93 stats_config(STATS_PID_FILE, OPT_ARG( PIDFILE ), 1); in getCmdOpts()
|
H A D | ntpd-opts.h | 247 # ifdef PIDFILE 248 # warning undefining PIDFILE due to option name conflict 249 # undef PIDFILE 331 # undef PIDFILE
|
/freebsd/usr.sbin/cron/cron/ |
H A D | pathnames.h | 59 #define PIDFILE "cron.pid" macro
|
H A D | cron.c | 75 const char *pidfile = PIDDIR PIDFILE; in open_pidfile()
|
/freebsd/sbin/natd/ |
H A D | natd.h | 13 #define PIDFILE "/var/run/natd.pid" macro
|
H A D | natd.c | 173 pidName = PIDFILE; in main()
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | token.l | 69 pidfile { DP; return PIDFILE; }
|
H A D | parse.y | 88 %token PIDFILE 147 pidfile_statement: PIDFILE STR
|
/freebsd/sbin/hastd/ |
H A D | token.l | 56 pidfile { DP; return PIDFILE; }
|
H A D | parse.y | 87 %token CONTROL PIDFILE LISTEN REPLICATION CHECKSUM COMPRESSION METAFLUSH 168 pidfile_statement: PIDFILE STR
|
/freebsd/usr.sbin/ctld/ |
H A D | token.l | 75 pidfile { return PIDFILE; }
|
H A D | parse.y | 64 %token PATH PCP PIDFILE PORT PORTAL_GROUP REDIRECT SEMICOLON SERIAL 151 pidfile: PIDFILE STR
|
/freebsd/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 74 #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 D | config.h | 811 #define PIDFILE "/var/unbound/unbound.pid" macro
|
/freebsd/contrib/unbound/ |
H A D | config.h.in | 892 #undef PIDFILE
|
H A D | configure.ac | 241 AC_DEFINE_UNQUOTED(PIDFILE, ["$hdr_pid"], [default pidfile location]) definition
|
/freebsd/contrib/unbound/util/ |
H A D | config_file.c | 201 if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit; in config_create()
|
/freebsd/contrib/ntp/ |
H A D | ChangeLog | 1615 * [Bug 2513] Remove any PIDFILE in finish().
|