User Tools

Site Tools


mbbsemu:configuration:systemd_service

systemd Service

The below service forks the MBBSEmu process into a screen session and is a cheap way to daemonize

Save to: /etc/systemd/system/mbbs.service

[Unit]
Description=MBBSEmu
After=syslog.target network.target

[Service]
Type=forking
ExecStart=/usr/bin/screen -d -m -S mbbs ./MBBSEmu -CLI -C games.json
User=<user>
Group=<group>
WorkingDirectory=/doors/mbbsemu

[Install]
WantedBy=multi-user.target

Thanks to @ryanfantus!

mbbsemu/configuration/systemd_service.txt · Last modified: 2023/11/27 22:06 by enusbaum