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

    SquidGuard apply changes

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 2.2k 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.
    • N
      ncolunga
      last edited by

      Hi, i'm doing a script to read acls and automatically change the config.xml file but i can't find a way to automatically apply this changes without pressing the "apply" button in the web interface. Anyone knows how could be regenerate the squidGuard.conf file from the config.xml from a script?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        Call sg_check_config_data(&$input_errors)

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

        1 Reply Last reply Reply Quote 0
        • N
          ncolunga
          last edited by

          I cant get it working. I have created a php file with the call and it executes without errors but it doesn't update /usr/local/etc/squidGuard/squidGuard.conf

          It's 2.0-release with the squid 2.7.9_4.2 package.

          Thank you very much.

          1 Reply Last reply Reply Quote 0
          • N
            ncolunga
            last edited by

            Well, as workaround i'm using the /etc/rc.packages script to reload config files.

            Best regards.

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