Skip to content

Instantly share code, notes, and snippets.

@adocampo
Created August 21, 2019 07:57
Show Gist options
  • Save adocampo/a4550cd9f4e1db93df7de220667b7ef5 to your computer and use it in GitHub Desktop.
Save adocampo/a4550cd9f4e1db93df7de220667b7ef5 to your computer and use it in GitHub Desktop.
systemd unit file for mycroft service
# The file must be placed on /usr/lib/systemd/user/mycroft.service
# and need to be run as the user who owns the file permissions
# with the command systemctl --user start|enable mycroft.service
[Unit]
Description=Mycroft main service
After=network.target local-fs.target remote-fs.target
[Service]
Type=forking
RemainAfterExit=no
ExecStart=/usr/share/mycroft-core/start-mycroft.sh all
ExecStop=/usr/share/mycroft-core/stop-mycroft.sh all
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment