Skip to content
Snippets Groups Projects
Verified Commit 843e96d0 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

turris-webapps-netdata: restart lighttpd due to its changes

There is a file netdata.lighttpd and because of that, we need to restart
lighttpd to reflect those changes

(cherry picked from commit 05676d57)
parent dbcdfd14
No related branches found
No related tags found
1 merge request!575turris-webapps-netdata: Add postinst
...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk ...@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=turris-webapps-netdata PKG_NAME:=turris-webapps-netdata
PKG_VERSION:=1.0 PKG_VERSION:=1.0
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz> PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
...@@ -39,5 +39,10 @@ define Package/turris-webapps-netdata/install ...@@ -39,5 +39,10 @@ define Package/turris-webapps-netdata/install
$(CP) files/netdata.webapps $(1)/usr/share/turris-webapps/30_netdata.conf $(CP) files/netdata.webapps $(1)/usr/share/turris-webapps/30_netdata.conf
endef endef
define Package/turris-webapps-netdata/postinst
#!/bin/sh
[ -n "$$IPKG_INSTROOT" ] || /etc/init.d/lighttpd restart
endef
$(eval $(call BuildPackage,turris-webapps-netdata)) $(eval $(call BuildPackage,turris-webapps-netdata))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment