diff --git a/README.md b/README.md index 16f6feb..5750efe 100644 --- a/README.md +++ b/README.md @@ -121,12 +121,18 @@ Then, create `/etc/init.d/blog`: ```bash #!/sbin/openrc-run +name="blog" +directory="/var/lib/blog" command="/usr/bin/ape" command_args="/var/lib/blog/blog.com -p 443 -p 80 \ -K /path/to/privkey.pem \ -C /path/to/fullchain.pem \ -J" command_user="blog:blog" +command_background="yes" +pidfile="/run/${RC_SVCNAME}.pid" +output_log="/var/log/blog.log" +error_log="/var/log/blog.err" export BLOG_NO_BROWSER=1 depend() { need net