diff options
author | Rafael Reggiani Manzo | 2016-12-27 10:38:25 -0200 |
---|---|---|
committer | Rafael Reggiani Manzo | 2016-12-27 10:38:25 -0200 |
commit | 69be2dcc091d62243567be82f87757a9ca8736e9 (patch) | |
tree | 51a8c5e047a6b364e269c356077135635ca6fab7 /mycroft-skills.service | |
parent | 056e8f15349789cf6665727a5d25996f9d787b1f (diff) | |
download | aur-69be2dcc091d62243567be82f87757a9ca8736e9.tar.gz |
Create user systemd units
Those are a better solution for the audio issues, since PulseAudio
itself does not recoomend to get it running as a system instance and
Gnome also is not able to manage the audio preferences with such
configuration.
The units provide a standard interface to starting mycroft services
allowing even multiple user installations each one paired independently.
Diffstat (limited to 'mycroft-skills.service')
-rw-r--r-- | mycroft-skills.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mycroft-skills.service b/mycroft-skills.service new file mode 100644 index 000000000000..4897757922ae --- /dev/null +++ b/mycroft-skills.service @@ -0,0 +1,11 @@ +[Unit] +Description=Mycroft skills provider +After=network.target local-fs.target remote-fs.target mycroft-service + +[Service] +Type=simple +PermissionsStartOnly=true +ExecStart=/bin/bash -c "source /usr/share/mycroft-core/.virtualenvs/mycroft/bin/activate && /usr/share/mycroft-core/start.sh skills" + +[Install] +WantedBy=multi-user.target |