Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffserviced: reload-trigger must not have quotes #381

Open
Akira25 opened this issue May 14, 2023 · 0 comments
Open

ffserviced: reload-trigger must not have quotes #381

Akira25 opened this issue May 14, 2023 · 0 comments

Comments

@Akira25
Copy link
Member

Akira25 commented May 14, 2023

Behaviour

When setting up services in the luci-interface, pressing the "Speichern und Anwenden" Button looks like not applying the configuration properly. It does store the values right, but nothing happens else

Possible cause

In /etc/init.d/ffserviced there's a line

service_triggers() {
    procd_add_reload_trigger "ffservices"
}

This line sets a watchdog on the ffservices-file in /etc/config/ffservices, where the service-data is stored. When changes in that file are registered by LuCI-Webinterface, it will trigger the one-shot service ffserviced to write the new information into OLSR and uhttpd.

Apparently the quotes around ffservices prevent this workflow sometimes.

Solving the issue

To solve this issue, one needs to verify, that the quotes are the cause of the issue, as there is also user experience, that it was working in that way. For me, It worked once I edited the file in that way. But maybe it was just caused by editing the file, whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant