From d4042ec35eecb0d417af438a3cb80cc5b7d53ae7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 8 Oct 2014 03:45:30 +0200 Subject: generic userid: use the new USERID api recent changes in trunk allow us to specify the userid inside the openwrt makefile. the info is stored int he meta data of the IPK contorl file and users are generated by the new generic postinst trigger. Signed-off-by: John Crispin --- net/prosody/Makefile | 1 + net/prosody/files/prosody.init | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'net/prosody') diff --git a/net/prosody/Makefile b/net/prosody/Makefile index 4ba1d6fec..985eb4c99 100644 --- a/net/prosody/Makefile +++ b/net/prosody/Makefile @@ -28,6 +28,7 @@ define Package/prosody DEPENDS:=+luafilesystem +libidn +luaexpat +luasec +libopenssl +libidn +liblua TITLE:=XMPP server URL:=http://prosody.im/ + USERID:=prosody=54:prosody=54 endef define Package/prosody/description diff --git a/net/prosody/files/prosody.init b/net/prosody/files/prosody.init index 9dd74f594..bab0ae7d5 100644 --- a/net/prosody/files/prosody.init +++ b/net/prosody/files/prosody.init @@ -14,8 +14,6 @@ RUN_USER=prosody RUN_GROUP=prosody start() { - user_exists prosody 54 || user_add prosody 54 - group_exists prosody 54 || group_add prosody 54 [ -d /var/run/prosody ] || { mkdir -m 0755 -p /var/run/prosody chown prosody:prosody /var/run/prosody -- cgit