Skip to content

Instantly share code, notes, and snippets.

@johannrichard
Last active January 11, 2017 16:28
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 johannrichard/61a1ade59ce4445a83818d93fc746867 to your computer and use it in GitHub Desktop.
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)
[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
# /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