HISP/HorseIsleServer/HISPd/Resources/DEBIAN/postinst
2022-07-25 19:16:21 +12:00

11 lines
262 B
Bash
Executable file

#!/bin/sh
useradd -r horseisle
mkdir -p /etc/hisp
mkdir -p /var/log/hisp
chown -R horseisle:horseisle /etc/hisp
chown -R horseisle:horseisle /var/log/hisp
systemctl enable HISP.service
systemctl start HISP
echo "Make sure to edit /etc/hisp/server.properties!"