Marcus Meissner
bea9fda6b3
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/914364 OBS-URL: https://build.opensuse.org/package/show/network:utilities/bwbar?expand=0&rev=11
35 lines
790 B
Desktop File
35 lines
790 B
Desktop File
[Unit]
|
|
Description=Bandwith Usage Monitor
|
|
After=network.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
EnvironmentFile=/etc/sysconfig/bwbar
|
|
ExecStart=/usr/bin/bwbar \
|
|
--${BWBAR_MEASURE} \
|
|
--text-file $BWBAR_TEXTFILE \
|
|
--png-file $BWBAR_PNGFILE \
|
|
--interval $BWBAR_INTERVAL \
|
|
--width $BWBAR_WIDTH \
|
|
--height $BWBAR_HEIGHT \
|
|
--border $BWBAR_BORDER \
|
|
--${BWBAR_UNIT} \
|
|
$BWBAR_DEVICE \
|
|
$BWBAR_MAXMBPS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|