Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to enable a service

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    2 Posts 2 Posters 296 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bauerfyr
      last edited by

      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 but enabled 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.

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        You can use the shellcmd package to start programs at boot.
        https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.