You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
365 B
14 lines
365 B
[Unit]
|
|
description "Job that runs mts-ENLIVEN minetest server as specific user"
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=statedir=/var/cache/mts-ENLIVEN
|
|
ExecStartPre=/usr/bin/mkdir -p ${statedir}
|
|
User=owner
|
|
Group=owner
|
|
ExecStart=/home/owner/minetest/bin/minetestserver --gameid ENLIVEN --worldname FCAGameAWorld
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|