systemctl enable nginx
错误信息:
update-rc.d: error: no runlevel symlinks to modify, aborting!
update-rc.d: error: nginx Default-Start contains no runlevels, aborting
解决办法:
update-rc.d nginx defaults
rm /etc/init.d/nginx
update-rc.d nginx remove
systemctl enable nginx
错误信息:
update-rc.d: error: no runlevel symlinks to modify, aborting!
update-rc.d: error: nginx Default-Start contains no runlevels, aborting
解决办法:
update-rc.d nginx defaults
rm /etc/init.d/nginx
update-rc.d nginx remove