forked from pool/sccache
19d6387573
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/932185 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/sccache?expand=0&rev=5
30 lines
694 B
Desktop File
30 lines
694 B
Desktop File
[Unit]
|
|
Description=sccache-dist server
|
|
After=chronyd.service ntpd.service network-online.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=read-only
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
DynamicUser=yes
|
|
Type=simple
|
|
Environment="RUST_LOG=sccache=info"
|
|
Environment="SCCACHE_NO_DAEMON=1"
|
|
ExecStart=sccache-dist scheduler --config /etc/sccache/scheduler.conf
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
|