So far, all output created by scripts run with micrond has been discarded. Since there is no reason for that and it also does not match the expected behavior, this enables both stdout and stderr output for the service. If not desired, a user can still use >/dev/null or similar in his/her micrond jobs to disable output easily and similar to what it would be on other systems. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
23 lines
506 B
Makefile
23 lines
506 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=micrond
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=2
|
|
PKG_LICENSE:=BSD-2-clause
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/micrond
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Small Cron daemon providing a cron.d directory other packages can install their crontabs into
|
|
DEPENDS:=
|
|
endef
|
|
|
|
define Package/micrond/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/micrond $(1)/usr/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,micrond))
|