mbbsemu:configuration:systemd_service
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mbbsemu:configuration:systemd_service [2020/11/14 20:21] – created tuday | mbbsemu:configuration:systemd_service [2023/11/27 22:06] (current) – enusbaum | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | < | ||
| + | # systemd Service | ||
| + | The below service forks the MBBSEmu process into a screen session and is a cheap way to daemonize | ||
| + | |||
| + | Save to: `/ | ||
| + | |||
| + | ``` | ||
| + | [Unit] | ||
| + | Description=MBBSEmu | ||
| + | After=syslog.target network.target | ||
| + | |||
| + | [Service] | ||
| + | Type=forking | ||
| + | ExecStart=/ | ||
| + | User=< | ||
| + | Group=< | ||
| + | WorkingDirectory=/ | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target | ||
| + | ``` | ||
| + | |||
| + | Thanks to [@ryanfantus](https:// | ||
| + | </ | ||
