lib/launchd/service.rb
# restart (install & restart) the service.
#
# If running as root, it will get installed as system-wide daemon,
# otherwise as agent.
#
restart (install & restart) the service.
If running as root, it will get installed as system-wide daemon,
otherwise as agent.
restart ( install & restart ) the service . If running as root it will get installed as system - wide daemon otherwise as agent .
def restart
      stop if running?
      save
      start
    end
def restart stop if running? save start end
restart (install & restart) the service.
restart ( install & restart ) the service .