[oe-commits] [meta-openembedded] 02/07: tinyproxy: Fix user and group in tinyproxy install
git at git.openembedded.org
git at git.openembedded.org
Sat Jan 11 16:39:46 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit ec0a1b218fa73618ba5479baf0ab956a7a965346
Author: Stefan Lendl <sll at mission-embedded.com>
AuthorDate: Mon Oct 8 14:13:41 2018 +0200
tinyproxy: Fix user and group in tinyproxy install
Signed-off-by: Stefan Lendl <sll at mission-embedded.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../recipes-support/tinyproxy/tinyproxy/tinyproxy.service | 6 +++---
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 df42745..78df437 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
RequiresMountsFor=/var
[Service]
-Group=tinyproxy
ExecStartPre=/bin/mkdir -p /var/log/tinyproxy
-ExecStartPre=/bin/chown -R nobody.tinyproxy /var/log/tinyproxy
+ExecStartPre=/bin/chown -R tinyproxy.nogroup /var/log/tinyproxy
ExecStartPre=/bin/mkdir -p /var/run/tinyproxy
-ExecStartPre=/bin/chown -R nobody.tinyproxy /var/run/tinyproxy
+ExecStartPre=/bin/chown -R tinyproxy.nogroup /var/run/tinyproxy
ExecStart=/usr/bin/tinyproxy -d
+PIDFile=/var/run/tinyproxy/tinyproxy.pid
[Install]
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 894eaac..7d97f52 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
#User specific
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --home /dev/null \
- --no-user-group --gid nogroup tinypoxy"
+ --no-user-group --gid nogroup tinyproxy"
SYSTEMD_PACKAGES += "${BPN}"
SYSTEMD_SERVICE_${PN} = "tinyproxy.service"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list