Add packages, simplify systemd unit
This commit is contained in:
parent
5c32a14c19
commit
968255ab76
@ -5,6 +5,10 @@
|
|||||||
block:
|
block:
|
||||||
- name: Set up system
|
- name: Set up system
|
||||||
block:
|
block:
|
||||||
|
- name: Install required packages
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- libluajit-5.1-2
|
||||||
- name: Create user
|
- name: Create user
|
||||||
user:
|
user:
|
||||||
name: tes3mp
|
name: tes3mp
|
||||||
|
@ -21,7 +21,7 @@ ProtectKernelModules=true
|
|||||||
# Implies MountAPIVFS=yes
|
# Implies MountAPIVFS=yes
|
||||||
ProtectControlGroups=true
|
ProtectControlGroups=true
|
||||||
|
|
||||||
ExecStart=/bin/sh -c '/usr/bin/screen -DmS %i {{ tes3mp.dest }}/{{ tes3mp.name }}/tes3mp-server'
|
ExecStart=/bin/sh -c '{{ tes3mp.dest }}/{{ tes3mp.name }}/tes3mp-server'
|
||||||
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user