1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/headphones_ynh.git synced 2024-09-03 19:26:02 +02:00

Allow the service to write into /etc/__APP__

This commit is contained in:
tituspijean 2024-06-29 15:58:35 +02:00
parent 185f1ce380
commit b8e4673f8e
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -8,6 +8,9 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/venv/bin/python3 __INSTALL_DIR__/Headphones.py --config /etc/__APP__/headphones.ini --datadir __DATA_DIR__ --nolaunch
# Allow headphones to write to its configuration directory despite ProtectSystem
ReadWritePaths=/etc/__APP__
# Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these
# .. but this should be a good baseline