add debian package build

This commit is contained in:
SilicaAndPina 2022-04-17 18:26:59 +12:00
parent cff8c68eef
commit 84b712c32f
6 changed files with 54 additions and 9 deletions

View file

@ -0,0 +1,2 @@
/etc/hisp/server.properties
/etc/hisp/CrossDomainPolicy.xml

View file

@ -0,0 +1,7 @@
Package: hisp
Version: 1.6.1
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev
Maintainer: Islehorse
Homepage: https://islehorse.com
Architecture: amd64
Description: Open Source Implementation of the flash game "Horse Isle" server.

View file

@ -0,0 +1,8 @@
#!/bin/sh
useradd horseisle
chown -R horseisle /etc/hisp
systemctl enable HISP.service
systemctl start HISP
echo "Make sure to edit /etc/hisp/server.properties!"

View file

@ -0,0 +1,4 @@
#!/bin/sh
systemctl stop HISP
systemctl disable HISP
userdel horseisle