User Tools

Site Tools


mbbsemu:configuration:systemd_service

This is an old revision of the document!


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 -C games.json
User=<user>
Group=<group>
WorkingDirectory=/doors/mbbsemu

[Install]
WantedBy=multi-user.target

Thanks to @ryanfantus!

mbbsemu/configuration/systemd_service.1696635685.txt · Last modified: 2023/10/06 23:41 by 127.0.0.1