mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
Update HISP.service
This commit is contained in:
parent
95749fa194
commit
0481b96f2c
2 changed files with 6204 additions and 6194 deletions
|
@ -9,17 +9,28 @@ After=mariadb.service
|
||||||
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
RestartSec=2s
|
RestartSec=5s
|
||||||
|
Restart=on-abort
|
||||||
|
|
||||||
Type=simple
|
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
|
User=horseisle
|
||||||
Group=horseisle
|
Group=horseisle
|
||||||
|
|
||||||
WorkingDirectory=/etc/hisp
|
WorkingDirectory=/etc/hisp
|
||||||
ExecStart=/usr/bin/HISPCli
|
ExecStart=/usr/bin/HISPCli
|
||||||
|
|
||||||
Restart=always
|
|
||||||
Environment=USER=horseisle HOME=/etc/hisp/home HISP_BASE_DIR=/etc/hisp HISP_CONF_FILE=/etc/hisp/server.properties
|
Environment=USER=horseisle HOME=/etc/hisp/home HISP_BASE_DIR=/etc/hisp HISP_CONF_FILE=/etc/hisp/server.properties
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Alias=hisp.service
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue