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
7431c871
Commit
7431c871
authored
3 months ago
by
Rob Swindell
Committed by
Deucе
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Example systemd file for running Synchronet FTP service separately
parent
2299ce84
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/systemd/ftpd.service
+44
-0
44 additions, 0 deletions
install/systemd/ftpd.service
with
44 additions
and
0 deletions
install/systemd/ftpd.service
0 → 100644
+
44
−
0
View file @
7431c871
# Synchronet FTP Server systemd 'unit configuration' file
#
# Only use if you want the FTP server to run as a separate process from the
# other BBS servers and services.
#
# You should have [FTP] AutoStart=false set in your ctrl/sbbs.in file
# or else, the FTP server will still start as part of your normal sbbs.service unit
# (and thus part of the same 'sbbs' instance as the other server), not what you want.
#
# 1. Copy or symlink this file to the correct directory
# e.g. for Debian/Ubuntu Linux, that would be: /lib/systemd/system
# 2. If necessary, modify the SBBSCTRL environment variable value to match your install
# 3. If necessary, modify the User and Group values to match your install
# 4. If necessary, modify the path in the ExecStart value to match your install
# Edits should be made using "sudo systemctl edit ftpd", thus creating the file:
# /etc/systemd/system/ftpd.service.d/override.conf
# 5. Enable the BBS service by running "sudo systemctl enable ftpd"
# 6. To run the BBS service without rebooting, run "sudo systemctl start ftpd"
#
# Tips:
# A. To query the status of the BBS service, run "systemctl status ftpd"
# B. To browse the log output of the BBS service, run "journalctl -u ftpd"
# C. To monitor the live log outupt of the BBS service, run "journalctl -f -u ftpd"
[Unit]
Description
=
Synchronet FTP Server
Documentation
=
http://wiki.synchro.net/
After
=
syslog.target network-online.target
[Service]
Type
=
forking
NotifyAccess
=
all
Environment
=
SBBSCTRL=/sbbs/ctrl
User
=
sbbs
Group
=
sbbs
AmbientCapabilities
=
CAP_NET_BIND_SERVICE
ExecStart
=
/sbbs/exec/sbbs d f!
ExecReload
=
/bin/kill -HUP $MAINPID
Restart
=
on-failure
RestartSec
=
30
LimitNOFILE
=
10000
[Install]
WantedBy
=
multi-user.target
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