[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)
Clint Byrum
clint at fewbar.com
Fri Apr 1 23:20:39 UTC 2011
There's a way to do this in lucid without modifying samba at all.
# cups-sysv
start on starting smbd
stop on stopped smbd
pre-start script
invoke-rc.d cups start || :
end script
post-stop script
invoke-rc.d cups stop || :
end script
#EOF
This will ensure that cups is started before smbd. It will also
introduce an error when we try to start/stop it again during rc2.d ..
but that shouldn't be more than a nuisance (and we could always remove
it from rc2.d in this pre-start)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141
Title:
CUPS starts after SAMBA; printers are not available (convert cups to
upstart)
More information about the Ubuntu-server-bugs
mailing list