Update README.md
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user