Skip to content

New .svc config file format #148

Open
@troglobit

Description

@troglobit

The oneliner format for configuring services is getting a bit crowded, and at times very wide.

What follows is an unfinished proposal for a new service definition that could fit into Finit w/o much refactor:

service zebra:quagga {
    runlevel = 2345
    exec = zebra -A 127.0.0.01
    desc = "Zebra routing daemon"
}

service ospf:quagga {
    runlevel = 2345
    cond = pid/zebra:quagga
    exec = ospfd -A 127.0.0.01
    desc = "OSPF routing daemon"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions