Skip to content
Snippets Groups Projects
  • Clayton Craft's avatar
    119061da
    community/syncthing: use supervise-daemon · 119061da
    Clayton Craft authored and omni's avatar omni committed
    OpenRC's supervisor can handle services that run in the foreground and
    don't daemonize/background themselves. --no-restart is used so that
    openrc's respawn_delay, etc are used.
    
    This also works around an issue I experienced where rc-service would
    hang indefinitely when trying to use `rc-service syncthing start` in
    automation. The issue doesn't happen with supervise-daemon.
    119061da
    History
    community/syncthing: use supervise-daemon
    Clayton Craft authored and omni's avatar omni committed
    OpenRC's supervisor can handle services that run in the foreground and
    don't daemonize/background themselves. --no-restart is used so that
    openrc's respawn_delay, etc are used.
    
    This also works around an issue I experienced where rc-service would
    hang indefinitely when trying to use `rc-service syncthing start` in
    automation. The issue doesn't happen with supervise-daemon.