mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
Rename HISPCli to HISPd
This commit is contained in:
parent
03b55d148a
commit
22ebec5a57
25 changed files with 377 additions and 371 deletions
36
HorseIsleServer/HISPd/Resources/HISP.service
Normal file
36
HorseIsleServer/HISPd/Resources/HISP.service
Normal file
|
@ -0,0 +1,36 @@
|
|||
[Unit]
|
||||
Description=HISP (Horse Isle Server Program)
|
||||
|
||||
After=syslog.target
|
||||
After=network.target
|
||||
|
||||
Wants=mariadb.service
|
||||
After=mariadb.service
|
||||
|
||||
|
||||
[Service]
|
||||
RestartSec=5s
|
||||
Restart=on-abort
|
||||
|
||||
Type=simple
|
||||
|
||||
# Disable access to features HISP doesnt need
|
||||
# (For security ...)
|
||||
ProtectSystem=full
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
|
||||
StandardError=syslog+console
|
||||
StandardOutput=syslog+console
|
||||
|
||||
User=horseisle
|
||||
Group=horseisle
|
||||
|
||||
WorkingDirectory=/etc/hisp
|
||||
ExecStart=/usr/bin/HISPd
|
||||
|
||||
Environment=USER=horseisle HOME=/etc/hisp/home HISP_BASE_DIR=/etc/hisp HISP_CONF_FILE=/etc/hisp/server.properties
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Alias=hisp.service
|
Loading…
Add table
Add a link
Reference in a new issue