New answers tagged init.d
I just ran into this very problem on Ubuntu 16.04 and I'm leaving my answer here for future users from Google who stumble onto the problem. Since chkconfig is mostly specific to CentOS, it obviously doesn't exist on Ubuntu. Apparently, to get a custom-built PHP (php-fpm SAPI) to start at boot under systemd, which is new to Ubuntu 16.04 (previously, Upstart)...
There's no built-in command for your use-case so you'll have to make an alias for your favorite shell or a trivial script.
Top 50 recent answers are included