[Unit] Description=bbot agent for %I After=default.target [Service] Type=simple Environment=VERBOSE=1 Environment=CPU=1 Environment=RAM=1048576 Environment=BOOTSTRAP_TIMEOUT=600 Environment=BUILD_TIMEOUT=1800 Environment=TOOLCHAIN_ID=123abc Environment=TOOLCHAIN_NUM=1 ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \ --verbose ${VERBOSE} \ --cpu ${CPU} \ --ram ${RAM} \ --bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \ --build-timeout ${BUILD_TIMEOUT} \ %i \ ${TOOLCHAIN_NUM} \ ${TOOLCHAIN_ID} User=build Group=build WorkingDirectory=~ [Install] WantedBy=default.target