Browse Source

Revert "feat(init): restart daemon everyday to workaround memory leak"

This reverts commit ded1caed5ec45cf3392262e3f8ba4554964ce4da.

Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit b29a729c905b1fcf910853dc2c67b0a3ec46d5c4)
Tianling Shen 1 year ago
parent
commit
2a63c6cb60
1 changed files with 0 additions and 1 deletions
  1. 0 1
      root/etc/init.d/unblockneteasemusic

+ 0 - 1
root/etc/init.d/unblockneteasemusic

@@ -76,7 +76,6 @@ start_service() {
 	local update_time
 	config_get update_time "config" "update_time" "3"
 	sed -i "/$NAME/d" /etc/crontabs/root
-	echo -e "30 2 * * * /etc/init.d/unblockneteasemusic" >> "/etc/crontabs/root"
 	! is_enabled "config" "auto_update" || echo -e "0 ${update_time} * * * $UNM_DIR/update.sh update_core" >> "/etc/crontabs/root"
 	/etc/init.d/cron restart