[Unit] Description=sccache distributed compilation scheduler Documentation=https://github.com/mozilla/sccache/blob/main/docs/DistributedQuickstart.md After=network-online.target Wants=network-online.target # Refuse to start until the operator has created the configuration file. ConditionPathExists=/etc/sccache/scheduler.conf [Service] Type=simple Environment=SCCACHE_NO_DAEMON=1 ExecStart=/usr/bin/sccache-dist scheduler --config /etc/sccache/scheduler.conf Restart=on-failure [Install] WantedBy=multi-user.target