HISP/HorseIsleServer/HISPd/Resources/HISP.service
2022-04-15 00:27:12 +12:00

36 lines
No EOL
670 B
Desktop File

[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