diff --git a/examples/systemd/README.md b/examples/systemd/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1546d0a86f9090771d2e33985cce06b56f673df1 --- /dev/null +++ b/examples/systemd/README.md @@ -0,0 +1,20 @@ +# systemd .service files + +In Linux, these example systemd services will automatically start the Fadecandy server and one of the Python example scripts on boot. + +### Installation Procedure +1. Ensure that the __fcserver__ executable resides in the directory specified in the .service file (/opt/fadecandy/server/ in this example) +2. Copy the .service files into the /etc/systemd/system/ directory + ~~~ + $ cp fadecandy.service example-leds.service /etc/systemd/system/ + ~~~ +3. Enable the services + ~~~ + $ systemctl enable fadecandy.service + $ systemctl enable example-leds.service + ~~~ +4. Start the services + ~~~ + $ systemctl start fadecandy.service + $ systemctl start example-leds.service + ~~~