Harden things a little more with PrivateDevices and PrivateUsers. Let's hope this doesn't blow up on me.

This commit is contained in:
Azareal 2018-08-07 14:53:43 +10:00
parent f2ecb9dbf7
commit a3c5601ac7
1 changed files with 3 additions and 1 deletions

View File

@ -15,8 +15,10 @@ WorkingDirectory=/home/gosora
# Make sure you manually run pre-run-linux before you start the service # Make sure you manually run pre-run-linux before you start the service
ExecStart=/home/gosora/Gosora ExecStart=/home/gosora/Gosora
# Let's hope this doesn't blow up on me # Let's hope these don't blow up on me
ProtectSystem=full ProtectSystem=full
PrivateDevices=true
PrivateUsers=true
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target