HISP/HorseIsleServer/HISPd/Resources/DEBIAN/postinst
2022-07-19 12:33:44 +12:00

11 lines
262 B
Bash

#!/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!"