Created
July 24, 2020 02:22
-
-
Save codeniko/206a9aa46c1a9ed02803a7ce182db5ea to your computer and use it in GitHub Desktop.
soft link it to /etc/systemd/system
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=Universal Media Server | |
After=network.target | |
After=network-online.target | |
[Service] | |
User=pi | |
ExecStart=/opt/ums/UMS.sh headless | |
TimeoutSec=30 | |
Restart=on-failure | |
RestartSec=30 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment