Skip to content

Instantly share code, notes, and snippets.

@andebor
Created April 9, 2018 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andebor/5b4af43ee23be223108780833a07a73c to your computer and use it in GitHub Desktop.
Save andebor/5b4af43ee23be223108780833a07a73c to your computer and use it in GitHub Desktop.
Small script to download and install lipopi systemd service
#!/usr/bin/env bash
cd ~/
mkdir -p lipopi
curl https://raw.githubusercontent.com/NeonHorizon/lipopi/master/lipopi.py > lipopi/lipopi.py
chmod +x lipopi/lipopi.py
curl https://raw.githubusercontent.com/NeonHorizon/lipopi/master/lipopi.service > lipopi.service
sudo cp lipopi.service /etc/systemd/system/.
rm lipopi.service
sudo systemctl enable lipopi.service
sudo systemctl start lipopi.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment