To restart a canister smart contract after a successful canister upgrade—you can run the
dfx canister start command.
For example, to restart all of the canisters running on the local Internet Computer blockchain mainnet, you can run the following command:
dfx canister start --allcopy
This command displays output similar to the following:
Starting code for canister status_check, with canister_id 75hes-oqbaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q Starting code for canister status_check_assets, with canister_id cxeji-wacaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q
For more information on how to restart a canister, please check out the “restart status” content from the Developer Center.