1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Mycroft RequiresMountsFor=/var After=mycroft-setup.service [Service] Type=forking WorkingDirectory=/var/mycroft ExecStartPre=mkdir -p /var/log/mycroft ExecStart=/var/mycroft/start-mycroft.sh all ExecStop=/var/mycroft/stop-mycroft.sh all [Install] WantedBy=multi-user.target