Add systemd service unit file and D-Bus config
The unit file is only for debugging purposes. The Makefile is used to install (link --runtime), start, stop, and restart the service, and to see the output (journalctl)
This commit is contained in:
9
sfsmcd/sfsmc-debug@.service
Normal file
9
sfsmcd/sfsmc-debug@.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=SFS Minecraft server (Debug)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=org.ddnss.sfs.mc
|
||||
ExecStart=%I/sfs-mc/target/debug/sfsmcd
|
||||
User=root
|
Reference in New Issue
Block a user