Page MenuHomeFreeBSD
Paste P159

dnscrypt-proxy rc_file
ActivePublic

Authored by dbaio on Mar 1 2018, 1:40 AM.
-------------------------------------------------------------------------------
command_args="-P ${pidfile} -r -f ${procname} -config ${dnscrypt_proxy_conf}"
# service dnscrypt-proxy start
Starting dnscrypt_proxy.
# ps ax | grep dnscrypt
45672 - Ss 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[45673] (daemon)
45673 - S 0:00.06 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
# service dnscrypt-proxy status
dnscrypt_proxy is not running.
# cat /var/run/dnscrypt-proxy.pid
45672
# service dnscrypt-proxy stop
dnscrypt_proxy not running? (check /var/run/dnscrypt-proxy.pid).
# ps ax | grep dnscrypt
45672 - Is 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[45673] (daemon)
45673 - I 0:00.32 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
-------------------------------------------------------------------------------
command_args="-p ${pidfile} -r -f ${procname} -config ${dnscrypt_proxy_conf}"
# service dnscrypt-proxy start
Starting dnscrypt_proxy.
# service dnscrypt-proxy status
dnscrypt_proxy is running as pid 45762.
# cat /var/run/dnscrypt-proxy.pid
45762
# ps ax | grep dnscrypt
45761 - Ss 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[45762] (daemon)
45762 - S 0:00.23 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
# service dnscrypt-proxy stop
Stopping dnscrypt_proxy.
Waiting for PIDS: 45762.
# ps ax | grep dnscrypt
45761 - Ss 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[45806] (daemon)
45806 - S 0:00.34 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
-------------------------------------------------------------------------------
command_args="-p ${pidfile} -f ${procname} -config ${dnscrypt_proxy_conf}"
# service dnscrypt-proxy start
Starting dnscrypt_proxy.
# service dnscrypt-proxy status
dnscrypt_proxy is running as pid 45855.
# cat /var/run/dnscrypt-proxy.pid
45855
# ps ax | grep dnscrypt
45854 - Ss 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[45855] (daemon)
45855 - S 0:00.13 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
# service dnscrypt-proxy stop
Stopping dnscrypt_proxy.
Waiting for PIDS: 45855.
# ps ax | grep dnscrypt
NULL
-------------------------------------------------------------------------------
dnscrypt_proxy_command="/usr/local/sbin/dnscrypt-proxy"
command_args="-P ${pidfile} -r -f ${dnscrypt_proxy_command} -config ${dnscrypt_proxy_conf}"
# service dnscrypt-proxy start
Starting dnscrypt_proxy.
# ps ax | grep dnscrypt
48202 - Ss 0:00.00 daemon: /usr/local/sbin/dnscrypt-proxy[48203] (daemon)
48203 - S 0:00.02 /usr/local/sbin/dnscrypt-proxy -config /usr/local/etc/dnscrypt-proxy.toml
# service dnscrypt-proxy status
dnscrypt_proxy is running as pid 48202.
# cat /var/run/dnscrypt-proxy.pid
48202
# service dnscrypt-proxy stop
Stopping dnscrypt_proxy.
Waiting for PIDS: 48202.
# ps ax | grep dnscrypt
NULL
-------------------------------------------------------------------------------

Event Timeline

dbaio created this paste.Mar 1 2018, 1:40 AM
dbaio created this object in space S1 Global.
dbaio updated the paste's language from apacheconf to autodetect.