Przeglądaj źródła

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

This reverts commit ded1caed5ec45cf3392262e3f8ba4554964ce4da.

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 1 rok temu
rodzic
commit
b29a729c90
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      root/etc/init.d/unblockneteasemusic

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

@@ -90,7 +90,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 restart" >> "/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