Advertisement
justrjlewis

sh -x caddy start

Jan 4th, 2016
382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 15.78 KB | None | 0 0
  1. + . /etc/rc.subr
  2. + : 18436
  3. + export RC_PID
  4. + [ -z '' ]
  5. + _rc_subr_loaded=YES
  6. + SYSCTL=/sbin/sysctl
  7. + SYSCTL_N='/sbin/sysctl -n'
  8. + SYSCTL_W=/sbin/sysctl
  9. + ID=/usr/bin/id
  10. + IDCMD='if [ -x /usr/bin/id ]; then /usr/bin/id -un; fi'
  11. + PS='/bin/ps -ww'
  12. + /bin/ps -ww -p 18436 -o jid=
  13. + JID=0
  14. + _rc_namevarlist='program chroot chdir flags fib nice user group groups'
  15. + _rc_subr_loaded=:
  16. + name=caddy
  17. + rcvar=caddy_enable
  18. + : YES
  19. + : caddysrv
  20. + : true
  21. + : justrjlewis@gmail.com
  22. + : /srv/www/Caddyfile
  23. + pidfile=/srv/var/run/caddy.pid
  24. + command=/usr/local/sbin/caddy
  25. + daemon_cmd=/usr/sbin/daemon
  26. + daemon_cmd_args='-cf -p /srv/var/run/caddy.pid -u caddysrv'
  27. + caddy_flags='-agree=true -email=rj@justrjlewis.com -conf=/srv/www/Caddyfile'
  28. + command_msg='Starting caddy with justrjlewis@gmail.com in directory /srv/www/Caddyfile.  The PID is .'
  29. + sig_stop=QUIT
  30. + sig_reload=USR1
  31. + start_cmd=caddy_start
  32. + start_precmd=caddy_prestart
  33. + load_rc_config caddy
  34. + local _name _rcvar_val _var _defval _v _msg _new _d
  35. + _name=caddy
  36. + [ -z caddy ]
  37. + [ -L /etc/rc.digitalocean.d/droplet.conf -a -f /etc/rc.digitalocean.d/droplet.conf ]
  38. + . /etc/rc.digitalocean.d/droplet.conf
  39. + hostname=freebsd-512mb-nyc3-twh-01
  40. + ifconfig_vtnet0_alias0='inet 10.17.0.6 netmask 255.255.0.0'
  41. + ifconfig_vtnet0='inet 104.236.120.156 netmask 255.255.192.0'
  42. + defaultrouter=104.236.64.1
  43. + ifconfig_vtnet1='inet 10.132.1.82 netmask 255.255.0.0'
  44. + false
  45. + [ -r /etc/defaults/rc.conf ]
  46. + debug 'Sourcing /etc/defaults/rc.conf'
  47. + . /etc/defaults/rc.conf
  48. + rc_info=NO
  49. + rc_startmsgs=YES
  50. + rcshutdown_timeout=90
  51. + early_late_divider=FILESYSTEMS
  52. + always_force_depends=NO
  53. + apm_enable=NO
  54. + apmd_enable=NO
  55. + apmd_flags=''
  56. + ddb_enable=NO
  57. + ddb_config=/etc/ddb.conf
  58. + devd_enable=YES
  59. + devd_flags=''
  60. + kldxref_enable=NO
  61. + kldxref_clobber=NO
  62. + kldxref_module_path=''
  63. + powerd_enable=NO
  64. + powerd_flags=''
  65. + tmpmfs=AUTO
  66. + tmpsize=20m
  67. + tmpmfs_flags=-S
  68. + varmfs=AUTO
  69. + varsize=32m
  70. + varmfs_flags=-S
  71. + populate_var=AUTO
  72. + cleanvar_enable=YES
  73. + local_startup=/usr/local/etc/rc.d
  74. + script_name_sep=' '
  75. + rc_conf_files='/etc/rc.conf /etc/rc.conf.local'
  76. + zfs_enable=NO
  77. + gptboot_enable=YES
  78. + gbde_autoattach_all=NO
  79. + gbde_devices=NO
  80. + gbde_attach_attempts=3
  81. + gbde_lockdir=/etc
  82. + geli_devices=''
  83. + geli_tries=''
  84. + geli_default_flags=''
  85. + geli_autodetach=YES
  86. + root_rw_mount=YES
  87. + fsck_y_enable=NO
  88. + fsck_y_flags=''
  89. + background_fsck=YES
  90. + background_fsck_delay=60
  91. + netfs_types='nfs:NFS oldnfs:OLDNFS smbfs:SMB'
  92. + extra_netfs_types=NO
  93. + hostname=''
  94. + hostid_enable=YES
  95. + hostid_file=/etc/hostid
  96. + nisdomainname=NO
  97. + dhclient_program=/sbin/dhclient
  98. + dhclient_flags=''
  99. + background_dhclient=NO
  100. + synchronous_dhclient=NO
  101. + defaultroute_delay=30
  102. + defaultroute_carrier_delay=5
  103. + netif_ipexpand_max=2048
  104. + wpa_supplicant_program=/usr/sbin/wpa_supplicant
  105. + wpa_supplicant_flags=-s
  106. + wpa_supplicant_conf_file=/etc/wpa_supplicant.conf
  107. + firewall_enable=NO
  108. + firewall_script=/etc/rc.firewall
  109. + firewall_type=UNKNOWN
  110. + firewall_quiet=NO
  111. + firewall_logging=NO
  112. + firewall_logif=NO
  113. + firewall_flags=''
  114. + firewall_coscripts=''
  115. + firewall_client_net=192.0.2.0/24
  116. + firewall_simple_iif=ed1
  117. + firewall_simple_inet=192.0.2.16/28
  118. + firewall_simple_oif=ed0
  119. + firewall_simple_onet=192.0.2.0/28
  120. + firewall_myservices=''
  121. + firewall_allowservices=''
  122. + firewall_trusted=''
  123. + firewall_logdeny=NO
  124. + firewall_nologports='135-139,445 1026,1027 1433,1434'
  125. + firewall_nat_enable=NO
  126. + firewall_nat_interface=''
  127. + firewall_nat_flags=''
  128. + dummynet_enable=NO
  129. + ip_portrange_first=NO
  130. + ip_portrange_last=NO
  131. + ike_enable=NO
  132. + ike_program=/usr/local/sbin/isakmpd
  133. + ike_flags=''
  134. + ipsec_enable=NO
  135. + ipsec_file=/etc/ipsec.conf
  136. + natd_program=/sbin/natd
  137. + natd_enable=NO
  138. + natd_interface=''
  139. + natd_flags=''
  140. + ipfilter_enable=NO
  141. + ipfilter_program=/sbin/ipf
  142. + ipfilter_rules=/etc/ipf.rules
  143. + ipfilter_flags=''
  144. + ipnat_enable=NO
  145. + ipnat_program=/sbin/ipnat
  146. + ipnat_rules=/etc/ipnat.rules
  147. + ipnat_flags=''
  148. + ipmon_enable=NO
  149. + ipmon_program=/sbin/ipmon
  150. + ipmon_flags=-Ds
  151. + ipfs_enable=NO
  152. + ipfs_program=/sbin/ipfs
  153. + ipfs_flags=''
  154. + pf_enable=NO
  155. + pf_rules=/etc/pf.conf
  156. + pf_program=/sbin/pfctl
  157. + pf_flags=''
  158. + pflog_enable=NO
  159. + pflog_logfile=/var/log/pflog
  160. + pflog_program=/sbin/pflogd
  161. + pflog_flags=''
  162. + ftpproxy_enable=NO
  163. + ftpproxy_flags=''
  164. + pfsync_enable=NO
  165. + pfsync_syncdev=''
  166. + pfsync_syncpeer=''
  167. + pfsync_ifconfig=''
  168. + tcp_extensions=YES
  169. + log_in_vain=0
  170. + tcp_keepalive=YES
  171. + tcp_drop_synfin=NO
  172. + icmp_drop_redirect=NO
  173. + icmp_log_redirect=NO
  174. + network_interfaces=auto
  175. + cloned_interfaces=''
  176. + sppp_interfaces=''
  177. + fec_interfaces=''
  178. + ppp_enable=NO
  179. + ppp_program=/usr/sbin/ppp
  180. + ppp_mode=auto
  181. + ppp_nat=YES
  182. + ppp_profile=papchap
  183. + ppp_user=root
  184. + hostapd_enable=NO
  185. + syslogd_enable=YES
  186. + syslogd_program=/usr/sbin/syslogd
  187. + syslogd_flags=-s
  188. + altlog_proglist=''
  189. + inetd_enable=NO
  190. + inetd_program=/usr/sbin/inetd
  191. + inetd_flags='-wW -C 60'
  192. + iscsid_enable=NO
  193. + iscsictl_enable=NO
  194. + iscsictl_flags=-Aa
  195. + hastd_enable=NO
  196. + hastd_program=/sbin/hastd
  197. + hastd_flags=''
  198. + ctld_enable=NO
  199. + local_unbound_enable=NO
  200. + kdc_enable=NO
  201. + kdc_program=/usr/libexec/kdc
  202. + kdc_flags=''
  203. + kadmind_enable=NO
  204. + kadmind_program=/usr/libexec/kadmind
  205. + kpasswdd_enable=NO
  206. + kpasswdd_program=/usr/libexec/kpasswdd
  207. + kfd_enable=NO
  208. + kfd_program=/usr/libexec/kfd
  209. + kfd_flags=''
  210. + ipropd_master_enable=NO
  211. + ipropd_master_program=/usr/libexec/ipropd-master
  212. + ipropd_master_flags=''
  213. + ipropd_master_keytab=/etc/krb5.keytab
  214. + ipropd_master_slaves=''
  215. + ipropd_slave_enable=NO
  216. + ipropd_slave_program=/usr/libexec/ipropd-slave
  217. + ipropd_slave_flags=''
  218. + ipropd_slave_keytab=/etc/krb5.keytab
  219. + ipropd_slave_master=''
  220. + gssd_enable=NO
  221. + gssd_program=/usr/sbin/gssd
  222. + gssd_flags=''
  223. + rwhod_enable=NO
  224. + rwhod_flags=''
  225. + rarpd_enable=NO
  226. + rarpd_flags=-a
  227. + bootparamd_enable=NO
  228. + bootparamd_flags=''
  229. + pppoed_enable=NO
  230. + pppoed_provider='*'
  231. + pppoed_flags='-P /var/run/pppoed.pid'
  232. + pppoed_interface=fxp0
  233. + sshd_enable=NO
  234. + sshd_program=/usr/sbin/sshd
  235. + sshd_flags=''
  236. + ftpd_enable=NO
  237. + ftpd_program=/usr/libexec/ftpd
  238. + ftpd_flags=''
  239. + amd_enable=NO
  240. + amd_program=/usr/sbin/amd
  241. + amd_flags='-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map'
  242. + amd_map_program=NO
  243. + autofs_enable=NO
  244. + automount_flags=''
  245. + automountd_flags=''
  246. + autounmountd_flags=''
  247. + nfs_client_enable=NO
  248. + nfs_access_cache=60
  249. + nfs_server_enable=NO
  250. + oldnfs_server_enable=NO
  251. + nfs_server_flags='-u -t'
  252. + mountd_enable=NO
  253. + mountd_flags=-r
  254. + weak_mountd_authentication=NO
  255. + nfs_reserved_port_only=NO
  256. + nfs_bufpackets=''
  257. + rpc_lockd_enable=NO
  258. + rpc_lockd_flags=''
  259. + rpc_statd_enable=NO
  260. + rpc_statd_flags=''
  261. + rpcbind_enable=NO
  262. + rpcbind_program=/usr/sbin/rpcbind
  263. + rpcbind_flags=''
  264. + rpc_ypupdated_enable=NO
  265. + keyserv_enable=NO
  266. + keyserv_flags=''
  267. + nfsv4_server_enable=NO
  268. + nfscbd_enable=NO
  269. + nfscbd_flags=''
  270. + nfsuserd_enable=NO
  271. + nfsuserd_flags=''
  272. + timed_enable=NO
  273. + timed_flags=''
  274. + ntpdate_enable=NO
  275. + ntpdate_program=/usr/sbin/ntpdate
  276. + ntpdate_flags=-b
  277. + ntpdate_config=/etc/ntp.conf
  278. + ntpdate_hosts=''
  279. + ntpd_enable=NO
  280. + ntpd_program=/usr/sbin/ntpd
  281. + ntpd_config=/etc/ntp.conf
  282. + ntpd_sync_on_start=NO
  283. + ntpd_flags='-p /var/run/ntpd.pid -f /var/db/ntpd.drift'
  284. + nis_client_enable=NO
  285. + nis_client_flags=''
  286. + nis_ypset_enable=NO
  287. + nis_ypset_flags=''
  288. + nis_server_enable=NO
  289. + nis_server_flags=''
  290. + nis_ypxfrd_enable=NO
  291. + nis_ypxfrd_flags=''
  292. + nis_yppasswdd_enable=NO
  293. + nis_yppasswdd_flags=''
  294. + bsnmpd_enable=NO
  295. + bsnmpd_flags=''
  296. + defaultrouter=NO
  297. + static_arp_pairs=''
  298. + static_ndp_pairs=''
  299. + static_routes=''
  300. + natm_static_routes=''
  301. + gateway_enable=NO
  302. + routed_enable=NO
  303. + routed_program=/sbin/routed
  304. + routed_flags=-q
  305. + mrouted_enable=NO
  306. + mrouted_program=/usr/local/sbin/mrouted
  307. + mrouted_flags=''
  308. + ipxgateway_enable=NO
  309. + ipxrouted_enable=NO
  310. + ipxrouted_flags=''
  311. + arpproxy_all=NO
  312. + forward_sourceroute=NO
  313. + accept_sourceroute=NO
  314. + atm_enable=NO
  315. + atm_pvcs=''
  316. + atm_arps=''
  317. + hcsecd_enable=NO
  318. + hcsecd_config=/etc/bluetooth/hcsecd.conf
  319. + sdpd_enable=NO
  320. + sdpd_control=/var/run/sdp
  321. + sdpd_groupname=nobody
  322. + sdpd_username=nobody
  323. + bthidd_enable=NO
  324. + bthidd_config=/etc/bluetooth/bthidd.conf
  325. + bthidd_hids=/var/db/bthidd.hids
  326. + rfcomm_pppd_server_enable=NO
  327. + rfcomm_pppd_server_profile='one two'
  328. + rfcomm_pppd_server_one_channel=1
  329. + rfcomm_pppd_server_two_channel=3
  330. + ubthidhci_enable=NO
  331. + netwait_enable=NO
  332. + netwait_timeout=60
  333. + netwait_if_timeout=30
  334. + icmp_bmcastecho=NO
  335. + ipv6_network_interfaces=auto
  336. + ipv6_activate_all_interfaces=NO
  337. + ipv6_defaultrouter=NO
  338. + ipv6_static_routes=''
  339. + ipv6_gateway_enable=NO
  340. + ipv6_cpe_wanif=NO
  341. + ipv6_privacy=NO
  342. + route6d_enable=NO
  343. + route6d_program=/usr/sbin/route6d
  344. + route6d_flags=''
  345. + ipv6_default_interface=NO
  346. + rtsol_flags=''
  347. + rtsold_enable=NO
  348. + rtsold_flags=-a
  349. + rtadvd_enable=NO
  350. + rtadvd_interfaces=''
  351. + mroute6d_enable=NO
  352. + mroute6d_program=/usr/local/sbin/pim6dd
  353. + mroute6d_flags=''
  354. + stf_interface_ipv4addr=''
  355. + stf_interface_ipv4plen=0
  356. + stf_interface_ipv6_ifid=0:0:0:1
  357. + stf_interface_ipv6_slaid=0000
  358. + ipv6_faith_prefix=NO
  359. + ipv6_ipv4mapping=NO
  360. + ipv6_ipfilter_rules=/etc/ipf6.rules
  361. + ip6addrctl_enable=YES
  362. + ip6addrctl_verbose=NO
  363. + ip6addrctl_policy=AUTO
  364. + keyboard=''
  365. + keymap=NO
  366. + keyrate=NO
  367. + keybell=NO
  368. + keychange=NO
  369. + cursor=NO
  370. + scrnmap=NO
  371. + font8x16=NO
  372. + font8x14=NO
  373. + font8x8=NO
  374. + blanktime=300
  375. + saver=NO
  376. + moused_nondefault_enable=YES
  377. + moused_enable=NO
  378. + moused_type=auto
  379. + moused_port=/dev/psm0
  380. + moused_flags=''
  381. + mousechar_start=NO
  382. + allscreens_flags=''
  383. + allscreens_kbdflags=''
  384. + mta_start_script=/etc/rc.sendmail
  385. + sendmail_enable=NO
  386. + sendmail_pidfile=/var/run/sendmail.pid
  387. + sendmail_procname=/usr/sbin/sendmail
  388. + sendmail_flags='-L sm-mta -bd -q30m'
  389. + sendmail_cert_create=YES
  390. + sendmail_submit_enable=YES
  391. + sendmail_submit_flags='-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost'
  392. + sendmail_outbound_enable=YES
  393. + sendmail_outbound_flags='-L sm-queue -q30m'
  394. + sendmail_msp_queue_enable=YES
  395. + sendmail_msp_queue_flags='-L sm-msp-queue -Ac -q30m'
  396. + sendmail_rebuild_aliases=NO
  397. + auditd_enable=NO
  398. + auditd_program=/usr/sbin/auditd
  399. + auditd_flags=''
  400. + auditdistd_enable=NO
  401. + auditdistd_program=/usr/sbin/auditdistd
  402. + auditdistd_flags=''
  403. + cron_enable=YES
  404. + cron_program=/usr/sbin/cron
  405. + cron_dst=YES
  406. + cron_flags=''
  407. + lpd_enable=NO
  408. + lpd_program=/usr/sbin/lpd
  409. + lpd_flags=''
  410. + nscd_enable=NO
  411. + chkprintcap_enable=NO
  412. + chkprintcap_flags=-d
  413. + dumpdev=NO
  414. + dumpdir=/var/crash
  415. + savecore_flags='-m 10'
  416. + crashinfo_enable=YES
  417. + crashinfo_program=/usr/sbin/crashinfo
  418. + quota_enable=NO
  419. + check_quotas=YES
  420. + quotaon_flags=-a
  421. + quotaoff_flags=-a
  422. + quotacheck_flags=-a
  423. + accounting_enable=NO
  424. + ibcs2_enable=NO
  425. + ibcs2_loaders=coff
  426. + firstboot_sentinel=/firstboot
  427. + sysvipc_enable=NO
  428. + linux_enable=NO
  429. + svr4_enable=NO
  430. + clear_tmp_enable=NO
  431. + clear_tmp_X=YES
  432. + ldconfig_insecure=NO
  433. + ldconfig_paths='/usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg'
  434. + ldconfig32_paths='/usr/lib32 /usr/lib32/compat'
  435. + ldconfig_paths_aout='/usr/lib/compat/aout /usr/local/lib/aout'
  436. + ldconfig_local_dirs=/usr/local/libdata/ldconfig
  437. + ldconfig_local32_dirs=/usr/local/libdata/ldconfig32
  438. + kern_securelevel_enable=NO
  439. + kern_securelevel=-1
  440. + update_motd=YES
  441. + entropy_file=/entropy
  442. + entropy_dir=/var/db/entropy
  443. + entropy_save_sz=2048
  444. + entropy_save_num=8
  445. + harvest_interrupt=YES
  446. + harvest_ethernet=YES
  447. + harvest_p_to_p=YES
  448. + harvest_swi=YES
  449. + dmesg_enable=YES
  450. + watchdogd_enable=NO
  451. + watchdogd_flags=''
  452. + devfs_rulesets='/etc/defaults/devfs.rules /etc/devfs.rules'
  453. + devfs_system_ruleset=''
  454. + devfs_set_rulesets=''
  455. + devfs_load_rulesets=YES
  456. + performance_cx_lowest=HIGH
  457. + performance_cpu_freq=NONE
  458. + economy_cx_lowest=HIGH
  459. + economy_cpu_freq=NONE
  460. + virecover_enable=YES
  461. + ugidfw_enable=NO
  462. + bsdextended_script=/etc/rc.bsdextended
  463. + newsyslog_enable=YES
  464. + newsyslog_flags=-CN
  465. + mixer_enable=YES
  466. + opensm_enable=NO
  467. + rctl_enable=NO
  468. + rctl_rules=/etc/rctl.conf
  469. + jail_enable=NO
  470. + jail_parallel_start=NO
  471. + jail_list=''
  472. + [ -z '' ]
  473. + source_rc_confs_defined=yes
  474. + source_rc_confs
  475. + local i sourced_files
  476. + sourced_files=:/etc/rc.conf:
  477. + [ -r /etc/rc.conf ]
  478. + . /etc/rc.conf
  479. + sshd_enable=YES
  480. + firewall_enable=YES
  481. + firewall_quiet=YES
  482. + firewall_type=workstation
  483. + firewall_myservices='22/tcp 80/tcp 443/tcp'
  484. + firewall_allowservices=any
  485. + firewall_logdeny=YES
  486. + ntpd_enable=YES
  487. + ntpd_sync_on_start=YES
  488. + mysql_enable=YES
  489. + php_fpm_enable=YES
  490. + postgresql_enable=yes
  491. + caddy_enable=YES
  492. + caddy_user=caddysrv
  493. + caddy_email=rj@justrjlewis.com
  494. + caddy_config=/srv/www/Caddyfile
  495. + caddy_flags='-agree=true -email=rj@justrjlewis.com -conf=/srv/www/Caddyfile'
  496. + sourced_files=:/etc/rc.conf::/etc/rc.conf.local:
  497. + [ -r /etc/rc.conf.local ]
  498. + _rc_conf_loaded=true
  499. + [ -f /etc/rc.conf.d/caddy ]
  500. + [ -d /etc/rc.conf.d/caddy ]
  501. + [ -f /usr/local/etc/rc.conf.d/caddy ]
  502. + [ -d /usr/local/etc/rc.conf.d/caddy ]
  503. + eval '_defval=$caddy_enable_defval'
  504. + _defval=''
  505. + [ -n '' ]
  506. + run_rc_command start
  507. + _return=0
  508. + rc_arg=start
  509. + [ -z caddy ]
  510. + shift 1
  511. + rc_extra_args=''
  512. + _rc_prefix=''
  513. + eval '_override_command=$caddy_program'
  514. + _override_command=''
  515. + command=/usr/local/sbin/caddy
  516. + _keywords='start stop restart rcvar enabled '
  517. + rc_pid=''
  518. + _pidcmd=''
  519. + _procname=/usr/local/sbin/caddy
  520. + [ -n /usr/local/sbin/caddy ]
  521. + [ -n /srv/var/run/caddy.pid ]
  522. + _pidcmd='rc_pid=$(check_pidfile /srv/var/run/caddy.pid /usr/local/sbin/caddy )'
  523. + [ -n 'rc_pid=$(check_pidfile /srv/var/run/caddy.pid /usr/local/sbin/caddy )' ]
  524. + _keywords='start stop restart rcvar enabled  status poll'
  525. + [ -z start ]
  526. + [ start = enabled ]
  527. + [ -n '' ]
  528. + eval 'rc_flags=$caddy_flags'
  529. + rc_flags='-agree=true -email=rj@justrjlewis.com -conf=/srv/www/Caddyfile'
  530. + eval '_chdir=$caddy_chdir' '_chroot=$caddy_chroot' '_nice=$caddy_nice' '_user=$caddy_user' '_group=$caddy_group' '_groups=$caddy_groups' '_fib=$caddy_fib'
  531. + _chdir='' _chroot='' _nice='' _user=caddysrv _group='' _groups='' _fib=''
  532. + [ -n caddysrv ]
  533. + eval if [ -x /usr/bin/id '];' then /usr/bin/id '-un;' fi
  534. + [ -x /usr/bin/id ]
  535. + /usr/bin/id -un
  536. + [ caddysrv = root ]
  537. + [ -z '' ]
  538. + eval 'rc_pid=$(check_pidfile' /srv/var/run/caddy.pid /usr/local/sbin/caddy ')'
  539. + check_pidfile /srv/var/run/caddy.pid /usr/local/sbin/caddy
  540. + _pidfile=/srv/var/run/caddy.pid
  541. + _procname=/usr/local/sbin/caddy
  542. + _interpreter=''
  543. + [ -z /srv/var/run/caddy.pid -o -z /usr/local/sbin/caddy ]
  544. + [ ! -f /srv/var/run/caddy.pid ]
  545. + debug 'pid file (/srv/var/run/caddy.pid): not readable.'
  546. + return
  547. + rc_pid=''
  548. + [ start != start ]
  549. + [ -n caddy_enable -a start != rcvar -a start != stop ]
  550. + checkyesno caddy_enable
  551. + eval '_value=$caddy_enable'
  552. + _value=YES
  553. + debug 'checkyesno: caddy_enable is set to YES.'
  554. + return 0
  555. + eval '_cmd=$start_cmd' '_precmd=$start_precmd' '_postcmd=$start_postcmd'
  556. + _cmd=caddy_start _precmd=caddy_prestart _postcmd=''
  557. + [ -n caddy_start ]
  558. + _run_rc_precmd
  559. + check_required_before start
  560. + local _f
  561. + return 0
  562. + [ -n caddy_prestart ]
  563. + debug 'run_rc_command: start_precmd: caddy_prestart '
  564. + eval 'caddy_prestart '
  565. + caddy_prestart
  566. + touch /srv/var/run/caddy.pid
  567. + chown caddysrv /srv/var/run/caddy.pid
  568. + chmod 775 /srv/var/run/caddy.pid
  569. + _return=0
  570. + [ 0 -ne 0 ]
  571. + check_required_after start
  572. + local _f _args
  573. + return 0
  574. + return 0
  575. + _run_rc_doit 'caddy_start '
  576. + debug 'run_rc_command: doit: caddy_start '
  577. + eval 'caddy_start '
  578. + caddy_start
  579. + /usr/sbin/daemon -cf -p /srv/var/run/caddy.pid -u caddysrv /usr/local/sbin/caddy -agree=true -email=rj@justrjlewis.com -conf=/srv/www/Caddyfile
  580. + echo Starting caddy with justrjlewis@gmail.com in directory /srv/www/Caddyfile. The PID is .
  581. Starting caddy with justrjlewis@gmail.com in directory /srv/www/Caddyfile. The PID is .
  582. + _return=0
  583. + [ 0 -ne 0 ]
  584. + return 0
  585. + _run_rc_postcmd
  586. + [ -n '' ]
  587. + return 0
  588. + return 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement