diff options
| -rw-r--r-- | meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service | 6 | ||||
| -rw-r--r-- | meta-networking/recipes-support/tinyproxy/tinyproxy_1.10.0.bb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service b/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service index df42745731..78df437f68 100644 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy/tinyproxy.service | |||
| @@ -3,12 +3,12 @@ Description=Tinyproxy, Lightweight http(s) proxy daemon | |||
| 3 | RequiresMountsFor=/var | 3 | RequiresMountsFor=/var |
| 4 | 4 | ||
| 5 | [Service] | 5 | [Service] |
| 6 | Group=tinyproxy | ||
| 7 | ExecStartPre=/bin/mkdir -p /var/log/tinyproxy | 6 | ExecStartPre=/bin/mkdir -p /var/log/tinyproxy |
| 8 | ExecStartPre=/bin/chown -R nobody.tinyproxy /var/log/tinyproxy | 7 | ExecStartPre=/bin/chown -R tinyproxy.nogroup /var/log/tinyproxy |
| 9 | ExecStartPre=/bin/mkdir -p /var/run/tinyproxy | 8 | ExecStartPre=/bin/mkdir -p /var/run/tinyproxy |
| 10 | ExecStartPre=/bin/chown -R nobody.tinyproxy /var/run/tinyproxy | 9 | ExecStartPre=/bin/chown -R tinyproxy.nogroup /var/run/tinyproxy |
| 11 | ExecStart=/usr/bin/tinyproxy -d | 10 | ExecStart=/usr/bin/tinyproxy -d |
| 11 | PIDFile=/var/run/tinyproxy/tinyproxy.pid | ||
| 12 | 12 | ||
| 13 | [Install] | 13 | [Install] |
| 14 | WantedBy=multi-user.target | 14 | WantedBy=multi-user.target |
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.10.0.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.10.0.bb index 894eaac99a..7d97f52a78 100644 --- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.10.0.bb +++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.10.0.bb | |||
| @@ -25,7 +25,7 @@ inherit autotools systemd useradd | |||
| 25 | #User specific | 25 | #User specific |
| 26 | USERADD_PACKAGES = "${PN}" | 26 | USERADD_PACKAGES = "${PN}" |
| 27 | USERADD_PARAM_${PN} = "--system --home /dev/null \ | 27 | USERADD_PARAM_${PN} = "--system --home /dev/null \ |
| 28 | --no-user-group --gid nogroup tinypoxy" | 28 | --no-user-group --gid nogroup tinyproxy" |
| 29 | 29 | ||
| 30 | SYSTEMD_PACKAGES += "${BPN}" | 30 | SYSTEMD_PACKAGES += "${BPN}" |
| 31 | SYSTEMD_SERVICE_${PN} = "tinyproxy.service" | 31 | SYSTEMD_SERVICE_${PN} = "tinyproxy.service" |
