Initial commit

This commit is contained in:
AlphaJack
2020-10-03 20:50:37 +02:00
commit ec7bab44e1
6 changed files with 142 additions and 0 deletions

29
librespeed.service Normal file
View File

@@ -0,0 +1,29 @@
[Unit]
Description=Librespeed speed test
After=network.target
[Service]
Type=simple
User=librespeed
Group=librespeed
WorkingDirectory=/usr/share/librespeed/
ExecStart=/usr/bin/librespeed -c /etc/librespeed/settings.toml
DevicePolicy=closed
NoNewPrivileges=yes
PrivateTmp=yes
PrivateUsers=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictNamespaces=yes
RestrictRealtime=yes
ReadWritePaths=/var/lib/librespeed
ReadWritePaths=/etc/librespeed/settings.toml
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=true
MemoryDenyWriteExecute=yes
[Install]
WantedBy=multi-user.target