Giter Site home page Giter Site logo

Run inputexec as service about inputexec HOT 3 OPEN

rbarrois avatar rbarrois commented on August 23, 2024
Run inputexec as service

from inputexec.

Comments (3)

vrs01 avatar vrs01 commented on August 23, 2024

any idea on this? I tried starting inputexec at system boot with /etc/rc.local but it sometimes crashes. So a systemd service would be better.

from inputexec.

sfatula avatar sfatula commented on August 23, 2024

This worked for me on Ubuntu:

[Unit]
Description=Process MCE commands
After=network.target

[Service]
ExecStart=/usr/local/bin/inputexec --action-commands=/home/mythtv/Documents/Scripts/inputexec-actions.ini --source-file=/dev/IntelCIR --action-mode=run_async --logging-target=syslog --logging-level=info
Restart=always

[Install]
WantedBy=multi-user.target

from inputexec.

rbarrois avatar rbarrois commented on August 23, 2024

I've never written systemd unit files, so I'm not sure how much I can help you there :(

However, the first one that was posted might have an issue when expanding the $config environment variable into a list of space-separated arguments.

If anyone has a proper and tested service file, I'd love to include it in the documentation :)

from inputexec.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.