mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-20 11:49:14 +12:00
add debian package build
This commit is contained in:
parent
cff8c68eef
commit
84b712c32f
6 changed files with 54 additions and 9 deletions
2
HorseIsleServer/HISPd/Resources/DEBIAN/conffiles
Normal file
2
HorseIsleServer/HISPd/Resources/DEBIAN/conffiles
Normal file
|
@ -0,0 +1,2 @@
|
|||
/etc/hisp/server.properties
|
||||
/etc/hisp/CrossDomainPolicy.xml
|
7
HorseIsleServer/HISPd/Resources/DEBIAN/control
Normal file
7
HorseIsleServer/HISPd/Resources/DEBIAN/control
Normal 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.
|
8
HorseIsleServer/HISPd/Resources/DEBIAN/postinst
Normal file
8
HorseIsleServer/HISPd/Resources/DEBIAN/postinst
Normal 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!"
|
4
HorseIsleServer/HISPd/Resources/DEBIAN/postrm
Normal file
4
HorseIsleServer/HISPd/Resources/DEBIAN/postrm
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
systemctl stop HISP
|
||||
systemctl disable HISP
|
||||
userdel horseisle
|
Loading…
Add table
Add a link
Reference in a new issue