pigpio/util
joan e6d510b449 Merge branch 'patch-1' of https://github.com/jonas-schievink/pigpio into jonas-schievink-patch-1 2018-02-04 10:06:51 +00:00
..
Findpigpio.cmake cmake: include find_package_handle_standard_args 2017-10-19 18:36:31 +02:00
pigpiod Add script that allows to start pigpiod as a service. 2016-03-10 21:45:20 +01:00
pigpiod.service Add systemd service file 2017-09-23 20:00:25 -07:00
readme.md Fix copy-and-paste mistake. 2016-03-10 21:56:34 +01:00

readme.md

This folder provides utility files for the pigpio library.

pigpiod

pigpiod is a script that allows to run pigpiod as a Linux service with root privileges. The advantage of running pigpiod as a service is that pigpiod can be automatically launched on system startup. To automatically start pigpiod as a service, do the following:

  • Copy pigpiod from this directory to /etc/init.d/.

  • Make it executable:

    sudo chmod +x /etc/init.d/pigpiod
    
  • Tell update-rc.d to automatically start the pigpiod service on system startup:

    sudo update-rc.d pigpiod defaults
    
  • Now, you can start, stop, and restart pigpiod using

    sudo service pigpiod start
    sudo service pigpiod stop
    sudo service pigpiod restart
    

Findpigpio.cmake

Findpigpio.cmake is a script used by CMake to find out where the pigpio header and library files are located.