Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.
This repository was archived by the owner on May 14, 2021. It is now read-only.

monit fails to bind to TCP port after reboot under Ubuntu 16.04 #21

@rkeiii

Description

@rkeiii

I started seeing this after switching from Ubuntu 14.04 to 16.04 as my base image. In this situation monit starts too early in the boot process and never gets bound to it's TCP port. If you simply restart monit after bootup completes it binds normally to it's port.

An easy fix is to add "After=network-online.target" to the systemd monit.service file created by poise-service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions