Last active
January 11, 2017 16:28
-
-
Save johannrichard/61a1ade59ce4445a83818d93fc746867 to your computer and use it in GitHub Desktop.
CEC REST Service, based on cdc-web (https://github.com/robbiet480/cec-web)
This file contains 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=CEC REST Service | |
# Based on https://github.com/robbiet480/cec-web | |
[Service] | |
# Change port if running together with OpenHAB | |
EnvironmentFile=/etc/default/cec | |
ExecStart=/usr/local/bin/cec-web $CEC_WEB_OPTS | |
Type=simple | |
[Install] | |
WantedBy=default.target |
This file contains 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
# /etc/default/cec | |
# Configuartion Option for CEC Service | |
# Change port from 8080 (default) to fix clash with openhab | |
CEC_WEB_OPTS=-a AmlogicCEC -z -p 8088 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment