Browse Source
Merge pull request #11922 from adrianschmutzler/micrond
micrond: show stdout and stderr in log
lilik-openwrt-22.03
Matthias Schiffer
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
utils/micrond/Makefile
-
utils/micrond/files/etc/init.d/micrond
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=micrond |
|
|
PKG_NAME:=micrond |
|
|
PKG_VERSION:=1 |
|
|
PKG_VERSION:=1 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
PKG_LICENSE:=BSD-2-clause |
|
|
PKG_LICENSE:=BSD-2-clause |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
@ -9,5 +9,7 @@ start_service() { |
|
|
procd_open_instance |
|
|
procd_open_instance |
|
|
procd_set_param command /usr/sbin/micrond "$CRONDIR" |
|
|
procd_set_param command /usr/sbin/micrond "$CRONDIR" |
|
|
procd_set_param respawn |
|
|
procd_set_param respawn |
|
|
|
|
|
procd_set_param stdout 1 |
|
|
|
|
|
procd_set_param stderr 1 |
|
|
procd_close_instance |
|
|
procd_close_instance |
|
|
} |
|
|
} |