summaryrefslogtreecommitdiff
path: root/services/applications/fcgiwrap.cf
blob: 7c9c80975a70118836452c6268124ccf4cad35b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bundle agent fcgiwrap(user, group, mode)
{
    vars:
        freebsd::
            "rc_conf_lines" slist => {
                "fcgiwrap_enable=\"YES\"",
                "fcgiwrap_user=\"$(user)\"",
                "fcgiwrap_socket_mode=\"$(mode)\"",
                "fcgiwrap_socket_owner=\"$(user)\"",
                "fcgiwrap_socket_group=\"$(group)\"",
            };
    methods:
        freebsd::
            "freebsd"  usebundle => install_package("$(this.bundle)", "fcgiwrap");
            "freebsd"  usebundle => add_rc_conf_line("$(this.bundle)", "$(fcgiwrap.rc_conf_lines)");
}