Created
January 11, 2019 03:34
-
-
Save jmbwell/efe72176b4fec2c69685a96f0ac55128 to your computer and use it in GitHub Desktop.
systemd unit for starting infinitive on raspberry pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Infinitive | |
After=multi-user.target | |
[Service] | |
Type=Idle | |
ExecStart=/home/pi/go/src/github.com/jmbwell/infinitive/infinitive -httpport=8080 -serial=/dev/ttyUSB0 | |
StandardOutput=null | |
Restart=always | |
RestartSec=10 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment