diff options
Diffstat (limited to 'content/cockpit')
-rw-r--r-- | content/cockpit/cockpit-plugin-tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/cockpit/cockpit-plugin-tutorial.md b/content/cockpit/cockpit-plugin-tutorial.md index 2fd0a76..b189a07 100644 --- a/content/cockpit/cockpit-plugin-tutorial.md +++ b/content/cockpit/cockpit-plugin-tutorial.md @@ -15,7 +15,7 @@ For example the *Terminal* that you see there is implemented as a tool. But lets So break out your terminal, lets make a package called *pinger* that checks whether your server has network connectivity to the Internet by pinging another host. Nothing too fancy. We'll just be spawning a process on the server to do the work. I've prepared it for you as [an example here](http://stef.thewalter.net/files/pinger.tgz), and we can look it over, and modify it. To download the example to your current directory: :::text - $ wget http://stef.thewalter.net/files/pinger.tgz -O - | tar -xf - + $ wget http://stef.thewalter.net/files/pinger.tgz -O - | tar -xzf - $ cd pinger/ Components, and more specifically their HTML and Javascript files, live in package directories. In the package directory there's also a `manifest.json` file which tells Cockpit about the package. The `pinger` directory above is such a package. It's `manifest.json` file looks like this: |