acme.sh and netbsd to freebsd updates

This commit is contained in:
Farhan Khan 2020-08-07 01:52:39 +00:00
parent 53c4215ef1
commit 33ea430f3b

View File

@ -146,8 +146,8 @@ Let's add auto-renewal to `/etc/daily.local`
(replace `example.com` with your domain): (replace `example.com` with your domain):
``` ```
/usr/pkg/bin/sudo -Hu nginx -g nginx \ /usr/pkg/bin/sudo -Hu www -g www \
/usr/pkg/sbin/acme.sh -r \ /usr/local/sbin/acme.sh -r \
-d example.com \ -d example.com \
--cert-file /etc/nginx/tls/cert \ --cert-file /etc/nginx/tls/cert \
--key-file /etc/nginx/tls/key \ --key-file /etc/nginx/tls/key \
@ -175,25 +175,22 @@ Copy the startup script to the correct location and make sure it's executable:
# chmod +x /usr/local/etc/rc.d/pleroma # chmod +x /usr/local/etc/rc.d/pleroma
``` ```
Update the `/etc/rc.conf` file with the following command: Update the `/etc/rc.conf` and start pleroma with the following commands:
``` ```
# sysrc pleroma_enable=YES # sysrc pleroma_enable=YES
# service pleroma start
``` ```
Now you can start pleroma with `# service pleroma start`. Now you can start pleroma with `# service pleroma start`.
## Conclusion ## Conclusion
Restart nginx with `# /etc/rc.d/nginx restart` and you should be up and running. Restart nginx with `# service nginx restart` and you should be up and running.
Make sure your time is in sync, or other instances will receive your posts with Make sure your time is in sync, or other instances will receive your posts with
incorrect timestamps. You should have ntpd running. incorrect timestamps. You should have ntpd running.
#### Further reading
{! backend/installation/further_reading.include !}
## Questions ## Questions
Questions about the installation or didnt it work as it should be, ask in [#pleroma:matrix.org](https://matrix.heldscal.la/#/room/#freenode_#pleroma:matrix.org) or IRC Channel **#pleroma** on **Freenode**. Questions about the installation or didnt it work as it should be, ask in [#pleroma:matrix.org](https://matrix.heldscal.la/#/room/#freenode_#pleroma:matrix.org) or IRC Channel **#pleroma** on **Freenode**.