def install_launchdaemon(library_path): args = [ '/Applications/calibre.app/Contents/MacOS/calibre-server', '--port=8081', '--with-library=%(library_path)s' % locals(), ] launchctl.install2(label, args)
def install_gitdaemon(): args=[ '/usr/local/bin/git', 'daemon', '--base-path=/usr/local/gitolite/repositories', '--export-all', ] launchctl.install2(label,args, user='******')
def install_launchdaemon(library_path): args=[ '/Applications/calibre.app/Contents/MacOS/calibre-server', '--port=8081', '--with-library=%(library_path)s' % locals(), ] launchctl.install2(label,args)
def install_gitdaemon(): args = [ '/usr/local/bin/git', 'daemon', '--base-path=/usr/local/gitolite/repositories', '--export-all', ] launchctl.install2(label, args, user='******')