/usr/lib/hamster-applet/hamster-service is in hamster-applet 2.91.3+git20120514.b9fec3e1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #!/usr/bin/python
# nicked off gwibber
import gobject, dbus
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
loop = gobject.MainLoop()
if "org.gnome.Hamster" in dbus.SessionBus().list_names():
print "Found hamster-service already running, exiting"
quit()
if __name__ == '__main__':
from hamster.lib import i18n
i18n.setup_i18n()
from hamster import db
print "hamster-service up"
storage = db.Storage(loop)
loop.run()
|