Skip to content

Instantly share code, notes, and snippets.

@the-snowwhite
Last active May 17, 2019 15:51
Show Gist options
  • Save the-snowwhite/6720872922af4d13159f55989c56ccd6 to your computer and use it in GitHub Desktop.
Save the-snowwhite/6720872922af4d13159f55989c56ccd6 to your computer and use it in GitHub Desktop.
[Unit]
Description=Starts OX Machinekit configuration
After=syslog.target network.target
[Service]
Type=simple
ExecStart=/bin/sh /home/machinekit/start.sh
User=machinekit
[Install]
WantedBy=multi-user.target
wget https://gist.github.com/the-snowwhite/6720872922af4d13159f55989c56ccd6/raw/3abfe291a1ca837c95edcb2a0e84812db47bf7b1/mklauncher.service
sudo mv mklauncher.service /lib/systemd/system/
sudo systemctl enable mklauncher.service
sudo systemctl start mklauncher.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment