After several prompts and a system failure, ChatGPT eventually did provide a working solution using systemd. This was not faster than doing it by hand though.