| Working With Aspera Watchfolders | |
# /opt/aspera/bin/asrun send -g
A query returns output similar to the following example, in which one watchd service and one watchfolderd service are returned:
[asrun send] code=0, body={"services":[{"id":"52ca847a-6981-47e1-9f9b-b661cf298af1","configuration":{"enabled":true,"run_as":{"user":"root"},"type":"WATCHD"},"state":"RUNNING","state_changed_at":"2016-10-20T19:14:34Z"},{"id":"root","configuration":{"enabled":true,"run_as":{"user":"root"},"type":"WATCHFOLDERD"},"state":"RUNNING","state_changed_at":"2016-10-20T00:11:19Z"}
# /opt/aspera/bin/asrun send --disable service_id # (wait for service to shutdown) # /opt/aspera/bin/asrun send --enable service_id
# /opt/aspera/bin/asrun send -d service_id