In our package, the command will probably be /usr/share/smart/smart-update. So maybe it would be nice to add /usr/share/smart to the PATH. That will be easier with my other suggestion: use twisted.internet.utils.getProcessOutput, which will give you a real Deferred for running a process.
[2] The smart update call in debian/landscape-client.init can be removed now.
[3] The cron file debian/landscape-client.cron.hourly can be removed as well.
Nice branch!
[1] "smart- update --after %d" % self.smart_ update_ interval)
+ run_command(
In our package, the command will probably be /usr/share/ smart/smart- update. So maybe it would be nice to add /usr/share/smart to the PATH. That will be easier with my other suggestion: use twisted. internet. utils.getProces sOutput, which will give you a real Deferred for running a process.
[2] The smart update call in debian/ landscape- client. init can be removed now.
[3] The cron file debian/ landscape- client. cron.hourly can be removed as well.
Thanks!