Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
c17fa563
Commit
c17fa563
authored
13 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Gentoo Linux startup script submitted by access_d (axisd).
parent
fcd82371
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/init.d/sbbs.gentoo
+45
-0
45 additions, 0 deletions
install/init.d/sbbs.gentoo
with
45 additions
and
0 deletions
install/init.d/sbbs.gentoo
0 → 100644
+
45
−
0
View file @
c17fa563
#!/sbin/runscript
# Gentoo Linux system service run script (init file) for Synchronet
#
# This file normally goes in your /etc/init.d directory
#
# $Id$
########################################
# Synchronet BBS Gentoo startup script #
########################################
# by access_d <axisd> Aug-31-2011
# You can edit these vars to meet your system configuration
SBBSDIR=/sbbs
export SBBSCTRL=$SBBSDIR/ctrl
PROG="$SBBSDIR/exec/sbbs"
PIDFILE="/var/run/sbbs.pid"
opts="${opts} restart"
depend() {
need localmount
after bootmisc
}
start() {
ebegin "Starting SBBS services"
start-stop-daemon --start --exec $PROG d --pidfile $PIDFILE
eend $?
}
stop() {
ebegin "Stopping SBBS services"
start-stop-daemon --stop --exec $PROG --pidfile $PIDFILE
eend $?
}
restart() {
stop
sleep 3
start
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment