![]() To check if the service is running or not $ sudo /etc/init.d/webiopi start $ sudo /etc/init.d/webiopi stop You can also start/stop the background service, the configuration will be loaded from /etc/webiopi/config. This is recommended when developing and debugging your scripts. To start webiopi service with verbose output and the default config file. $ sudo nano /etc/webiopi/config //Edit this section of the config, mainly the doc-root and welcome-file attributes. The basic configuration required is to tell where our custom python script will reside which can be done by editing the config file under HTTP section using the following command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |