How to enable a service
-
How can I enable a service that I've installed via
pkg add https://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/All/amazon-ssm-agent-2.3.1205.0.txz
It starts with
sudo service amazon-ssm-agent onestart
butenabled
appears to do nothing and the service doesn't survive a reboot.I'm using the AMI paid subscription from AWS Marketplace and would really appreciate having this baked in :) It looks like OPNsense has it out of the box, but I'm having issues getting that running on AWS. If I can get this management service to persist a reboot on pfSense I'll be keeping my subscription indefinitely.
-
You can use the shellcmd package to start programs at boot.
https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html