Skip to content

Instantly share code, notes, and snippets.

View fisproject's full-sized avatar

t2sy fisproject

View GitHub Profile
@fisproject
fisproject / go-simple-server.centos
Last active June 3, 2019 10:58
A CentOS initscript for go-simple-server
#!/bin/sh
EXEC=/usr/local/bin/server
PIDFILE=/var/run/go-simple-server.pid
USER=ubuntu
###############
# SysV Init Information
# chkconfig: - 58 74
# description: go-simple-server is the dsmllib API server daemon.
### BEGIN INIT INFO
@fisproject
fisproject / go-simple-server.nohup
Last active June 3, 2019 10:59
A initscript for go-simple-server using nohup(1)
#!/bin/sh
EXEC=/usr/local/bin/server
PIDFILE=/var/run/go-simple-server.pid
###############
# SysV Init Information
# chkconfig: - 58 74
# description: go-simple-server is the dsmllib API server daemon.
### BEGIN INIT INFO
# Provides: go-simple-server
@fisproject
fisproject / go-simple-server.ubuntu
Last active June 3, 2019 10:59
A Ubuntu initscript for go-simple-server
#!/bin/sh
EXEC=/usr/local/bin/server
PIDFILE=/var/run/go-simple-server.pid
USER=ubuntu
###############
# SysV Init Information
# chkconfig: - 58 74
# description: go-simple-server is the dsmllib API server daemon.
### BEGIN INIT INFO