reynoldsbd / lunacam

Camera streaming system for Raspberry Pi
Apache License 2.0
13 stars 1 forks source link

Auto-restart daemon #10

Closed reynoldsbd closed 4 years ago

reynoldsbd commented 5 years ago

Current implementation of "session reset" requires completely restarting the daemon process (because there's no easy way to force actix-web to reload itself).

However, the deamon is not being restarted as expected. The process exits by design, but it is not restarted by systemd in spite of its RestartSec=5s directive. As a result, some user must log in via SSH and manually restart the service to re-enable web access.