Skip to content

Instantly share code, notes, and snippets.

View r-antonio's full-sized avatar

Ramiro Antonio r-antonio

View GitHub Profile
@r-antonio
r-antonio / nginx
Created March 7, 2018 14:04
Nginx service script for Debian/Ubuntu distributions with status output and reload functionality
#!/bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the nginx web server
# Description: starts nginx using start-stop-daemon

Keybase proof

I hereby claim:

  • I am r-antonio on github.
  • I am ramaantonio (https://keybase.io/ramaantonio) on keybase.
  • I have a public key ASD4-C5c6Sy2rIbmZUGfREkrDu1zfH9af7z0fEz0jKHb5go

To claim this, I am signing this object: