Skip to content

This is a simple Linux script to update an git based project on a headless server.

Notifications You must be signed in to change notification settings

git-vcs/git-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

git-updater

This is a simple Linux script to update an git based project on a headless server. The script is designed to run with crontab but can also be run manually(however that defeats the purpose of the script).

Setup:

Folderstructure:

git-updater
the_project_you_want_to_update

Configure:

You need to configure the ABSOLUTE path to your project-directory (DIR variable line 3). And the name or command to start your project(RUNFILE variable line 6).

The script does 4 things.

  1. checks the git status. And If there is an update...
  2. Stops the project.
  3. Downloads the new version.
  4. Starts the project.

About

This is a simple Linux script to update an git based project on a headless server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages