Up 起動・停止・再起動 作成: 2021-01-24
更新: 2021-01-24


  • 起動
      $ sudo /etc/init.d/webiopi start
        [ ok ] Starting webiopi (via systemctl): webiopi.service.

  • 停止
      $ sudo /etc/init.d/webiopi stop
        [ ok ] Stopping webiopi (via systemctl): webiopi.service.

  • 状態確認 (webサーバが起動しないときなど)
      $ sudo /etc/init.d/webiopi status
        ● webiopi.service - LSB: WebIOPi initscript Loaded: loaded (/etc/init.d/webiopi; generated) Active: active (running) since Tue 2021-02-09 21:26:18 JST; 4min 50s ago Docs: man:systemd-sysv-generator(8) Process: 1002 ExecStart=/etc/init.d/webiopi start (code=exited, status=0/SUCCESS) Tasks: 3 (limit: 1938) CGroup: /system.slice/webiopi.service └─1010 /usr/bin/python3 -m webiopi -l /var/log/webiopi -c /etc/webiopi/con…

  • 再起動
      $ sudo /etc/init.d/webiopi restart
        [ ok ] Restarting webiopi (via systemctl): webiopi.service.