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
bifrostd
to your user
Add sudo usermod -a -G bifrostd {username}
Install service
Modify bifrostd.service
in order to match your local install
sudo systemctl enable bifrostd.service
Configuration
host:port
Use Change the httpd
section
{
"httpd": {
"host": "0.0.0.0",
"port:" "8081"
}
}
curl -iv -XGET http://localhost:8081/path