Skip to content

Instantly share code, notes, and snippets.

View cyco130's full-sized avatar

Fatih Aygün cyco130

  • Reaktor
  • Lisbon
  • 22:07 (UTC +01:00)
  • X @cyco130
View GitHub Profile
@cyco130
cyco130 / dploy-nginx.sh
Created April 8, 2024 09:26
Simple deployment manager
# This script also runs on the VPS.
# It handles the bits that require
# root access.
set -e
if [ $(id -u) != 0 ]; then
echo "You're not root"
exit 1
fi