Add packages, simplify systemd unit
This commit is contained in:
parent
5c32a14c19
commit
968255ab76
@ -5,6 +5,10 @@
|
||||
block:
|
||||
- name: Set up system
|
||||
block:
|
||||
- name: Install required packages
|
||||
apt:
|
||||
name:
|
||||
- libluajit-5.1-2
|
||||
- name: Create user
|
||||
user:
|
||||
name: tes3mp
|
||||
|
@ -21,7 +21,7 @@ ProtectKernelModules=true
|
||||
# Implies MountAPIVFS=yes
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user