Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 927 Bytes

README.md

File metadata and controls

68 lines (46 loc) · 927 Bytes

Bifrostd

Bring things to another place...

How it works

List watches

$ curl -iv -XGET --unix-socket /tmp/bifrostd.sock http:/path

Expose Details of a watch

$ curl -iv -XGET --unix-socket /tmp/bifrostd.sock http:/path//tmp/walter

Watch path

$ curl -iv \
--data '{"path": "/tmp/walter", "namespace": "wally"}' \
-XPOST \
--unix-socket /tmp/bifrostd.sock http:/watch

Install

bifrostd group

sudo groupadd -g 342 bifrostd --system

Add bifrostd to your user

sudo usermod -a -G bifrostd {username}

Install service

Modify bifrostd.service in order to match your local install

sudo systemctl enable bifrostd.service

Configuration

Use host:port

Change the httpd section

{
    "httpd": {
        "host": "0.0.0.0",
        "port:" "8081"
    }
}
curl -iv -XGET http://localhost:8081/path