ソースを参照

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 8年前
コミット
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

読み込み中…
キャンセル
保存