Back to Recipes
internetztube
3 recipes shared
Install nvm
Installs nvm (node version manager)
# Execute as forge
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
# Usage in Deploy Script with .nvmrc file:
2 years ago
internetztube
Supervisor Permissions for forge user
Allow forge user to execute supervisorctl commands to e.g. restart a daemon during deployment.
echo 'forge ALL=(ALL) NOPASSWD: /usr/bin/supervisorctl' | sudo EDITOR='tee -a' visudo
# Example usage in Deploy Script:
# sudo supervisorctl restart daemon-<deamon id>:*
2 years ago
internetztube
Install Floating IP
#!/bin/sh
# Install (Hetzner Cloud) Floating IP on Ubuntu 20.4 or Ubuntu 22.04 machine.
# Run this script as root user!
# Make sure to update IP_ADDRESS!
2 years ago
internetztube