Home
last modified time | relevance | path

Searched refs:pidfile (Results 151 – 175 of 5505) sorted by relevance

12345678910>>...221

/dports/sysutils/bareos19-server/bareos-Release-19.2.11/core/debian/
H A Dbareos-filedaemon.bareos-fd.init.in52 local pidfile daemon name status OPTIND
54 pidfile=
58 p) pidfile="$OPTARG";;
63 if [ -n "$pidfile" ]; then
64 pidfile="-p $pidfile"
70 pidofproc $pidfile $daemon >/dev/null || status="$?"
93 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
95 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
120 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
156 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
H A Dbareos-storage.bareos-sd.init.in49 local pidfile daemon name status OPTIND
51 pidfile=
55 p) pidfile="$OPTARG";;
60 if [ -n "$pidfile" ]; then
61 pidfile="-p $pidfile"
67 pidofproc $pidfile $daemon >/dev/null || status="$?"
90 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
92 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
117 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
153 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/www/bareos-webui/bareos-Release-20.0.3/debian/
H A Dbareos-filedaemon.bareos-fd.init.in52 local pidfile daemon name status OPTIND
54 pidfile=
58 p) pidfile="$OPTARG";;
63 if [ -n "$pidfile" ]; then
64 pidfile="-p $pidfile"
70 pidofproc $pidfile $daemon >/dev/null || status="$?"
93 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
95 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
120 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
156 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
H A Dbareos-storage.bareos-sd.init.in49 local pidfile daemon name status OPTIND
51 pidfile=
55 p) pidfile="$OPTARG";;
60 if [ -n "$pidfile" ]; then
61 pidfile="-p $pidfile"
67 pidofproc $pidfile $daemon >/dev/null || status="$?"
90 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
92 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
117 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
153 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/www/bareos18-webui/bareos-Release-18.2.12/core/debian/
H A Dbareos-storage.bareos-sd.init.in49 local pidfile daemon name status OPTIND
51 pidfile=
55 p) pidfile="$OPTARG";;
60 if [ -n "$pidfile" ]; then
61 pidfile="-p $pidfile"
67 pidofproc $pidfile $daemon >/dev/null || status="$?"
90 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
92 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
117 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
153 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
H A Dbareos-filedaemon.bareos-fd.init.in52 local pidfile daemon name status OPTIND
54 pidfile=
58 p) pidfile="$OPTARG";;
63 if [ -n "$pidfile" ]; then
64 pidfile="-p $pidfile"
70 pidofproc $pidfile $daemon >/dev/null || status="$?"
93 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
95 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
120 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
156 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/www/bareos19-webui/bareos-Release-19.2.11/core/debian/
H A Dbareos-storage.bareos-sd.init.in49 local pidfile daemon name status OPTIND
51 pidfile=
55 p) pidfile="$OPTARG";;
60 if [ -n "$pidfile" ]; then
61 pidfile="-p $pidfile"
67 pidofproc $pidfile $daemon >/dev/null || status="$?"
90 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
92 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
117 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
153 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
H A Dbareos-filedaemon.bareos-fd.init.in52 local pidfile daemon name status OPTIND
54 pidfile=
58 p) pidfile="$OPTARG";;
63 if [ -n "$pidfile" ]; then
64 pidfile="-p $pidfile"
70 pidofproc $pidfile $daemon >/dev/null || status="$?"
93 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
95 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
120 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
156 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/audio/musicpd/mpd-0.23.6/src/unix/
H A DDaemon.cxx55 static AllocatedPath pidfile = nullptr; variable
69 if (pidfile.IsNull()) in daemonize_kill()
72 const pid_t pid = ReadPidFile(pidfile); in daemonize_kill()
74 const std::string utf8 = pidfile.ToUTF8(); in daemonize_kill()
140 PidFile pidfile2(pidfile); in daemonize_begin()
186 pidfile2.Delete(pidfile); in daemonize_begin()
212 PidFile(pidfile).Write(); in daemonize_commit()
242 pidfile = std::move(_pidfile); in daemonize_init()
248 if (!pidfile.IsNull()) { in daemonize_finish()
249 unlink(pidfile.c_str()); in daemonize_finish()
[all …]
/dports/security/tinc/tinc-1.0.36/src/
H A Dpidfile.c39 pid_t read_pid(const char *pidfile) { in read_pid() argument
43 if(!(f = fopen(pidfile, "r"))) { in read_pid()
61 pid_t check_pid(const char *pidfile) { in check_pid() argument
62 pid_t pid = read_pid(pidfile); in check_pid()
89 pid_t write_pid(const char *pidfile) { in write_pid() argument
94 if((fd = open(pidfile, O_RDWR | O_CREAT, 0644)) == -1) { in write_pid()
139 int remove_pid(const char *pidfile) { in remove_pid() argument
140 return unlink(pidfile); in remove_pid()
/dports/net/zebra-server/idzebra-2.0.55/rpm/
H A Dzebrasrv.init22 pidfile=${PIDFILE-/var/run/zebrasrv.pid}
33 daemon --pidfile=${pidfile} $DAEMON $OPTIONS -D -c $CONFIG -p ${pidfile}
42 killproc -p ${pidfile} -d 10 $DAEMON
45 [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}
61 status -p ${pidfile} $DAEMON
69 if [ -f ${pidfile} ] ; then
/dports/sysutils/istatserver/istatserver-3.02/src/
H A DDaemon.cpp89 pos = pidfile.find_last_of("/"); in create()
92 piddir = pidfile.substr(0, pidfile.find_last_of("/")); in create()
94 if (check_dir_exist(piddir) == 0 && pidfile.length()) in create()
102 if (pidfile.length()) in create()
104 out.open(pidfile.c_str()); in create()
108 cout << "Could not create pid file " << pidfile << ": " << strerror(errno) << endl; in create()
112 chmod(pidfile.c_str(), 0644); in create()
113 if(chown(pidfile.c_str(), uid, gid)){} in create()
153 if (pidfile.length()) in create()
215 ret = unlink(pidfile.c_str()); in destroy()
[all …]
/dports/net/rtpproxy/rtpproxy-2.1.1/rpm/
H A Drtpproxy.init29 pidfile=/var/run/$prog.pid
43 if pidofproc -p $pidfile > /dev/null 2>&1 ; then
48 daemon $rtpproxy -p $pidfile -u $user $OPTIONS
59 if ! pidofproc -p $pidfile > /dev/null 2>&1 ; then
64 killproc -p $pidfile $prog
67 [ $RETVAL = 0 ] && rm -f $lockfile $pidfile
80 status -p $pidfile $prog
88 if [ -f $pidfile ] ; then
/dports/sysutils/cbsd-mq-api/cbsd-mq-api-0.3/rc.d/
H A Dcbsd-mq-api12 pidfile="/var/run/${name}.pid"
41 if [ -f "${pidfile}" ]; then
42 pids=$( pgrep -F ${pidfile} 2>&1 )
44 [ ${_err} -eq 0 ] && kill -9 ${pids} && /bin/rm -f ${pidfile}
53 …/usr/sbin/daemon -u ${cbsd_mq_api_user} -f -R5 -p ${pidfile} -P ${daemon_pidfile} -o ${logfile} ${…
64 if [ -f "${pidfile}" ]; then
65 pids=$( pgrep -F ${pidfile} 2>&1 )
75 echo "no pidfile $pidfile"
/dports/www/squidanalyzer/squidanalyzer-6.5/
H A Dsquid-analyzer25 my $pidfile = 'squid-analyzer.pid';
82 if (-e "$pid_dir/$pidfile") {
83 …die "FATAL: pid file ($pid_dir/$pidfile) exists, an other squid-analalyzer process may still runni…
87 open(OUT, ">$pid_dir/$pidfile") or die "FATAL: can not write to pid file $pid_dir/$pidfile, $!\n";
95 my $sa = new SquidAnalyzer($configfile, join(',', @logfile), $debug, $rebuild, $pid_dir, $pidfile, …
122 if (-e "$pid_dir/$pidfile") {
123 … unlink("$pid_dir/$pidfile") or print("ERROR: Unable to remove pid file $pid_dir/$pidfile, $!\n");
174 unlink("$pid_dir/$pidfile");
/dports/net/nss-pam-ldapd/nss-pam-ldapd-0.9.11/pynslcd/
H A Dmypidfile.py48 pidfile = os.fdopen(fd, 'w')
52 pidfile.write('%d\n' % os.getpid())
53 pidfile.truncate()
54 pidfile.flush()
55 self.pidfile = pidfile
60 fcntl.lockf(self.pidfile.fileno(), fcntl.LOCK_UN)
61 self.pidfile.close()
62 del self.pidfile
/dports/net/nss-pam-ldapd-sasl/nss-pam-ldapd-0.9.11/pynslcd/
H A Dmypidfile.py48 pidfile = os.fdopen(fd, 'w')
52 pidfile.write('%d\n' % os.getpid())
53 pidfile.truncate()
54 pidfile.flush()
55 self.pidfile = pidfile
60 fcntl.lockf(self.pidfile.fileno(), fcntl.LOCK_UN)
61 self.pidfile.close()
62 del self.pidfile
/dports/net/olsrd/olsrd-0.9.8/src/
H A Dpid_file.c62 if (olsr_cnf->pidfile) { in writePidFile()
71 int fd = open(olsr_cnf->pidfile, O_CREAT | O_WRONLY, mode); in writePidFile()
73 snprintf(buf, sizeof(buf), "Could not create the PID file %s", olsr_cnf->pidfile); in writePidFile()
89 …rintf(buf, sizeof(buf), "Could not write PID %d to the PID file %s", (int) pid, olsr_cnf->pidfile); in writePidFile()
97 snprintf(buf, sizeof(buf), "Could not close PID file %s", olsr_cnf->pidfile); in writePidFile()
108 if (!olsr_cnf || !olsr_cnf->pidfile) { in removePidFile()
112 if (remove(olsr_cnf->pidfile) < 0) { in removePidFile()
114 snprintf(buf, sizeof(buf), "Could not remove the PID file %s", olsr_cnf->pidfile); in removePidFile()
/dports/www/carbonapi/carbonapi-0.14.1/contrib/carbonzipper/rhel/
H A Dcarbonzipper.init11 pidfile="/var/run/carbonzipper.pid"
37 daemon --pidfile $pidfile $carbon -config $config -pidfile $pidfile
47 killproc -p $pidfile
61 killproc -p $pidfile $prog -USR2
68 status -p $pidfile
/dports/net/ntpa/ntpa-0.8.2/lib/
H A Dntpa.rc93 pidfile="$pid_dir/${name}.pid"
101 if [ -f ${pidfile} ]; then
102 rc_pid=`cat ${pidfile}`
107 …su -m ${ntpauser} -c "sh -c '%%PREFIX%%/sbin/ntpa --config ${config} --writepid ${pidfile} --temp …
118 if [ ! -f ${pidfile} ]; then
123 rc_pid=`cat ${pidfile}`
130 if [ ! -f ${pidfile} ]; then
135 rc_pid=`cat ${pidfile}`
/dports/net-mgmt/carbonzipper/carbonzipper-0.74/contrib/rhel/
H A Dcarbonzipper.init11 pidfile="/var/run/carbonzipper.pid"
37 daemon --pidfile $pidfile $carbon -config $config -pidfile $pidfile
47 killproc -p $pidfile
61 killproc -p $pidfile $prog -USR2
68 status -p $pidfile
/dports/dns/unbound/unbound-1.14.0/daemon/
H A Dunbound.c385 pidfile, strerror(errno)); in writepid()
540 if(cfg->pidfile && cfg->pidfile[0] && need_pidfile) { in perform_setup()
542 if(cfg->pidfile[0] == '/') in perform_setup()
543 daemon->pidfile = strdup(cfg->pidfile); in perform_setup()
544 else daemon->pidfile = fname_after_chroot(cfg->pidfile, in perform_setup()
546 if(!daemon->pidfile) in perform_setup()
559 if(cfg->pidfile && cfg->pidfile[0] && need_pidfile) { in perform_setup()
615 if(daemon->pidfile && daemon->pidfile[0] && in perform_setup()
621 if(!daemon->pidfile) in perform_setup()
746 if(daemon->pidfile) { in run_daemon()
[all …]
/dports/sysutils/bareos18-client/bareos-Release-18.2.12/core/debian/
H A Dbareos-director.bareos-dir.init.in51 local pidfile daemon name status OPTIND
53 pidfile=
57 p) pidfile="$OPTARG";;
62 if [ -n "$pidfile" ]; then
63 pidfile="-p $pidfile"
69 pidofproc $pidfile $daemon >/dev/null || status="$?"
108 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
110 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
135 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
171 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/sysutils/bareos18-traymonitor/bareos-Release-18.2.12/core/debian/
H A Dbareos-director.bareos-dir.init.in51 local pidfile daemon name status OPTIND
53 pidfile=
57 p) pidfile="$OPTARG";;
62 if [ -n "$pidfile" ]; then
63 pidfile="-p $pidfile"
69 pidofproc $pidfile $daemon >/dev/null || status="$?"
108 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
110 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
135 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
171 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
/dports/sysutils/bareos19-traymonitor/bareos-Release-19.2.11/core/debian/
H A Dbareos-director.bareos-dir.init.in51 local pidfile daemon name status OPTIND
53 pidfile=
57 p) pidfile="$OPTARG";;
62 if [ -n "$pidfile" ]; then
63 pidfile="-p $pidfile"
69 pidofproc $pidfile $daemon >/dev/null || status="$?"
108 …start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON --test > /de…
110 start-stop-daemon --start --quiet --pidfile $PIDFILE $DAEMON_USERGROUP --exec $DAEMON -- \
135 …start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE $DAEMON_USERGROUP --nam…
171 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME

12345678910>>...221