From 8ad8d12373b4e0be5d2d5f125930314139deff24 Mon Sep 17 00:00:00 2001
From: TheTechromancer <thetechromancer@protonmail.com>
Date: Thu, 3 Jan 2019 00:58:10 -0600
Subject: [PATCH] clarified installation process

---
 examples/systemd/README.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 examples/systemd/README.md

diff --git a/examples/systemd/README.md b/examples/systemd/README.md
new file mode 100644
index 0000000..1546d0a
--- /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
+    ~~~
-- 
GitLab