Page 1 of 1

UnrealIRCd Cron Check with SystemD Timers

Posted: Tue Jan 29, 2019 12:10 am
by acidvegas
unrealircd.service

Code: Select all

[Unit]
Description=UnrealIRCd Cron Check Service

[Service]
Type=oneshot
User=acidvegas
ExecStart=/home/acidvegas/unrealircd/unrealircd croncheck
unrealircd.timer

Code: Select all

[Unit]
Description=UnrealIRCd Cron Check Timer

[Timer]
OnCalendar=*:0/5
Persistent=true

[Install]
WantedBy=timers.target
Not sure if I am doing this right. Trying to part ways with using cron and using a systemd timer for check if unreal is runnning. Also need to make a timer for starting unreal after reboot, unless the two can be combined.

Any feedback would be great, thanks.