mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-23 02:59:38 +02:00
CAP_NET_BIND_SERVICE is not required, as the default ports are 8000 and 3012
1 parent
aefe27b37e
commit
1d33c219de
1 file changed
-2
@@ -46,8 +46,6 @@ ProtectSystem=strict
|
|||||||
# Only allow writes to the following directory and set it to the working directory (user and password data are stored here)
|
# Only allow writes to the following directory and set it to the working directory (user and password data are stored here)
|
||||||
WorkingDirectory=/var/lib/vaultwarden
|
WorkingDirectory=/var/lib/vaultwarden
|
||||||
ReadWriteDirectories=/var/lib/vaultwarden
|
ReadWriteDirectories=/var/lib/vaultwarden
|
||||||
# Allow vaultwarden to bind ports in the range of 0-1024
|
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in new issue
Block a user