davesteele / cloudprint-service

Debian packaging for the Python cloudprint proxy utility
GNU General Public License v3.0
71 stars 4 forks source link

Service does not start at boot #18

Closed clskier closed 9 years ago

clskier commented 9 years ago

Running an Ubuntu 14.04 server. Followed install instructions and everything works. Documents print no problem. After the server reboots, the service does not start.

jim@HTPC:~$ sudo service cloudprintd status [sudo] password for jim:

jim@HTPC:~$ sudo service cloudprintd start jim@HTPC:~$ sudo service cloudprintd status

Then all is well with the world again. The /etc/init.d/cloudprintd file looks identical to the one on this site

clskier commented 9 years ago

I found this is the same issue as #8, which was closed with a clean install. I did get confused between this and amroo's cloudprint solution when building this server, so might have something left over from that. I found a work around here: My workaround for now is to edit /etc/init.d/cloudprintd and add the following in do_start, before the start-stop-daemon call: CODE: SELECT ALL status cups | grep -q "running" || sleep 60

I'll chalk this issue up to remnants of the other cloudprint project and close to that.