# salt.modules.system

Support for reboot, shutdown, etc

`salt.modules.system.` `halt`()

  Halt a running system

  CLI Example:

      salt '*' system.halt

`salt.modules.system.` `init`(runlevel)

  Change the system runlevel on sysV compatible systems

  CLI Example:

      salt '*' system.init 3

`salt.modules.system.` `poweroff`()

  Poweroff a running system

  CLI Example:

      salt '*' system.poweroff

`salt.modules.system.` `reboot`()

  Reboot the system using the 'reboot' command

  CLI Example:

      salt '*' system.reboot

`salt.modules.system.` `shutdown`(at_time=None)

  Shutdown a running system

  CLI Example:

      salt '*' system.shutdown

Current Salt release: 0.17.1

#### Previous topic

salt.modules.sysmod

#### Next topic

salt.modules.systemd

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd