Fix permissons

This commit is contained in:
SilicaAndPina 2022-04-18 18:18:18 +12:00
parent c27e50f6af
commit f3a3566e8f
3 changed files with 3 additions and 8 deletions

View file

@ -9,16 +9,12 @@ 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
@ -29,7 +25,7 @@ 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
Environment=USER=horseisle HOME=/etc/hisp HISP_BASE_DIR=/etc/hisp HISP_CONF_FILE=/etc/hisp/server.properties
[Install]
WantedBy=multi-user.target