使用禁用/启用 systemd 命令获取警告:
$ sudo systemctl enable mongodb.service
Synchronizing state of mongodb.service with SysV init with /lib/systemd/systemd-sysv-install...
Executing /lib/systemd/systemd-sysv-install enable mongodb
insserv: warning: current start runlevel(s) (empty) of script `mongodb' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mongodb' overrides LSB defaults (0 1 6).
如何修复?谢谢!