浏览代码

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.
Clara Hobbs 7 年前
父节点
当前提交
fc0196f697
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8
    0
      systemd/kaylee.service

+ 8
- 0
systemd/kaylee.service 查看文件

@@ -0,0 +1,8 @@
1
+[Unit]
2
+Description=Somewhat fancy voice command recognition software
3
+
4
+[Service]
5
+ExecStart=/usr/bin/kaylee
6
+
7
+[Install]
8
+WantedBy=default.target

正在加载...
取消
保存