You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
466B

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/system.R
  3. \name{service}
  4. \alias{service}
  5. \title{Manage services}
  6. \usage{
  7. service(service, action = c("start", "stop", "restart"), use_sudo = T)
  8. }
  9. \arguments{
  10. \item{service}{The service to manage (pg for short for postgresql-9.1)}
  11. \item{action}{The action to perform}
  12. \item{use_sudo}{Use sudo if not executed by root account (defaults to T)}
  13. }
  14. \description{
  15. Start/stop/restart services
  16. }