Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 514228 Details for
Bug 612876
www-servers/caddy doesn't have an init.d file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sample caddy init script
caddy (text/plain), 546 bytes, created by
Winston Weinert
on 2018-01-11 15:54:08 UTC
(
hide
)
Description:
sample caddy init script
Filename:
MIME Type:
Creator:
Winston Weinert
Created:
2018-01-11 15:54:08 UTC
Size:
546 bytes
patch
obsolete
>#!/sbin/openrc-run >command=/usr/bin/caddy >command_args="${caddy_args} -agree -email ${caddy_email} -conf ${caddy_caddyfile} -log stdout" >pidfile=/var/run/caddy.pid >name="Caddy HTTPD" > >description="Caddy is a webserver with letsencrypt support" > >depend() { > need net >} > >start() { > ebegin "Starting Caddy" > ulimit -n 8192 > start-stop-daemon -S -u "$caddy_user:$caddy_group" -p "$pidfile" -m -b \ > -e "CADDYPATH=$caddy_caddypath" \ > -1 "${caddy_logfile}" -2 "${caddy_logfile}" \ > -x "$command" -- $command_args > eend $? "failed to start caddy" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 612876
: 514228