mirror of
https://github.com/novatiq/packages.git
synced 2026-07-29 15:03:05 +01:00
uwsgi-cgi: introduce emperor mode as default uwsgi installation
- Use uwsgi in emperor mode by default Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
This commit is contained in:
@@ -51,12 +51,18 @@ endef
|
||||
define Package/uwsgi-cgi/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uwsgi $(1)/usr/sbin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/uwsgi.init $(1)/etc/init.d/uwsgi
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uwsgi
|
||||
$(INSTALL_DATA) ./files/emperor.ini $(1)/etc/uwsgi/emperor.ini
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uwsgi/vassals
|
||||
endef
|
||||
|
||||
define Package/uwsgi-cgi-luci-support/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files-luci-support/uwsgi.init $(1)/etc/init.d/uwsgi
|
||||
$(INSTALL_BIN) ./files-luci-support/uwsgi.conf $(1)/etc/uwsgi.conf
|
||||
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,uwsgi-cgi))
|
||||
|
||||
Reference in New Issue
Block a user