Verified Commit e833be3a authored by Michal Hrusecky's avatar Michal Hrusecky 🐉

haas-proxy: Run as root for now

There is some weird hidden issue when running as nobody and some information
gets silently dropped. Running as root for now as risk is low and we need to
fix it for now before diving into further lengthy investigation.
parent 5270d587
......@@ -8,13 +8,10 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=haas-proxy
PKG_VERSION:=1.4
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/haas/proxy.git
PKG_SOURCE:=$(PKG_NAME).tar.gz
PKG_RELEASE:=4
PKG_SOURCE_VERSION:=2860305b13cca1e21d7677b903e9f41b37b6fb16
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
PKG_SOURCE_URL:=https://gitlab.labs.nic.cz/haas/proxy/raw/$(PKG_SOURCE_VERSION)/release/haas-proxy-1.4.tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MAINTAINER:=CZ.NIC <packaging@nic.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
......
......@@ -26,7 +26,6 @@ start_service() {
procd_set_param command /usr/bin/python2.7 -m haas_proxy -n --pidfile=/tmp/haas.pid --syslog haas_proxy --device-token $TOKEN --port $PORT
procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-5}
procd_set_param file /etc/config/haas
procd_set_param user nobody
procd_close_instance
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment