An open API service indexing awesome lists of open source software.

https://github.com/serverfarmer/sf-helloworld

This example extension demonstrates, how to build real, useful extensions for Server Farmer.
https://github.com/serverfarmer/sf-helloworld

extension sdk

Last synced: over 1 year ago
JSON representation

This example extension demonstrates, how to build real, useful extensions for Server Farmer.

Awesome Lists containing this project

README

          

## Overview

This example extension demonstrates, how to build real, useful extensions for Server Farmer.

It contains 4 important files:

- `setup.sh` script, which is executed during extension installation - it can install and configure additional software packages, do some post-install configuration etc.
- `uninstall.sh` script, which is executed before extension removal
- `hello.sh` script, which provides the example extension functionality
- `aliases` file, which defines /usr/local/bin aliases for scripts provided by the extension

Both `setup.sh` and `uninstall.sh` scripts are optional.

Aliases are symbolic links, installed and uninstalled with the extension, eg. `hello.sh` script will get `/usr/local/bin/sf-hello` symbolic link and will be runnable as `sf-hello`.