2020-11-23 15:37:38 +01:00
|
|
|
[Unit]
|
|
|
|
Description=sccache-dist server
|
|
|
|
After=chronyd.service ntpd.service network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2021-11-19 01:57:42 +01:00
|
|
|
# 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
|
2020-11-23 15:37:38 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|