summary refs log tree commit diff
path: root/systemd
diff options
context:
space:
mode:
authorClayton G. Hobbs <clay@lakeserv.net>2016-05-14 23:41:23 -0400
committerClayton G. Hobbs <clay@lakeserv.net>2016-05-14 23:41:23 -0400
commitfc0196f697314307ab4ebb00bf7f5de43ca672fe (patch)
tree99800f0fa4c8c39c34b133a96cd37ff4adc35395 /systemd
parent55f3c7b52c7bf42eed0b34651ea9b80cf61b72bc (diff)
Add a systemd service file for starting Kaylee
Next I need to make the setup.py script install it.  It's meant to be a
user service (installed to /usr/lib/systemd/user/), since Kaylee
currently does not support being run outside of a normal user account.

Also, it would be really nice to make it possible to reload the service
once it has been started.  This will require some changes to Kaylee to
support synchronously reloading configuration.  I understand that you
aren't supposed to reload units asynchronously, and I *really* can't
trust Kaylee to reload succinctly since reloading configuration may
require contacting a remote server until #10 is implemented.
Configuration reloading may be a separate issue from the systemd unit
file, but I'd like to see it by version 0.2.
Diffstat (limited to 'systemd')
-rw-r--r--systemd/kaylee.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/systemd/kaylee.service b/systemd/kaylee.service
new file mode 100644
index 0000000..51c5a04
--- /dev/null
+++ b/systemd/kaylee.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Somewhat fancy voice command recognition software
+
+[Service]
+ExecStart=/usr/bin/kaylee
+
+[Install]
+WantedBy=default.target