Skip to content

Instantly share code, notes, and snippets.

@levabd
Created September 6, 2016 18:47
Show Gist options
  • Save levabd/6d18fa4f825c542f824896987522922c to your computer and use it in GitHub Desktop.
Save levabd/6d18fa4f825c542f824896987522922c to your computer and use it in GitHub Desktop.
Supervisor recipe for stack-updater
[
{
"name": "SupervisorD",
"command": "/usr/bin/supervisord -v",
"required": "3.0.0",
"comparison": ">=",
"installer": "supervisord.sh",
"order": "1"
}
]
#!/bin/bash
set -e #exit immediately if a simple command exits with a nonzero exit value
apt-get update
apt-get remove -y supervisor
apt-get purge -y supervisor
apt-get install -y supervisor
sudo /etc/init.d/supervisor restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment