I have a running process that, for various reasons, needs to be restarted once a day. The job is managed with a systemd
.service file, which looks like this
and I’ve setup also crontab to run
systemctl restart <service> once a day. I would like to know if there is an option that I can add to my .service file for restarting the service periodically, such that I can have all the configuration in a single file and basically not use crontab anymore.