Skip to content

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

License

Notifications You must be signed in to change notification settings

serverfarmer/sf-helloworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages