Skip to content

serverfarmer/sf-helloworld

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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