Skip to content

Instantly share code, notes, and snippets.

View mike-carey's full-sized avatar
🇺🇦
Sláva Ukrayíni!

Mike Carey mike-carey

🇺🇦
Sláva Ukrayíni!
View GitHub Profile
@mike-carey
mike-carey / start-stop-daemon-template
Created August 20, 2020 21:39 — forked from bcap/start-stop-daemon-template
Template file for creating linux services out of executables using the start-stop-daemon
#!/bin/bash
### BEGIN INIT INFO
# Provides: <service name>
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: <service description>
### END INIT INFO