mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 13:15: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]
|
||||
RestartSec=2s
|
||||
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/HISPCli
|
||||
|
||||
Restart=always
|
||||
Environment=USER=horseisle HOME=/etc/hisp/home HISP_BASE_DIR=/etc/hisp HISP_CONF_FILE=/etc/hisp/server.properties
|
||||
|
||||
[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