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