UnrealIRCd Cron Check with SystemD Timers
Posted: Tue Jan 29, 2019 12:10 am
unrealircd.service
unrealircd.timer
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.
Code: Select all
[Unit]
Description=UnrealIRCd Cron Check Service
[Service]
Type=oneshot
User=acidvegas
ExecStart=/home/acidvegas/unrealircd/unrealircd croncheck
Code: Select all
[Unit]
Description=UnrealIRCd Cron Check Timer
[Timer]
OnCalendar=*:0/5
Persistent=true
[Install]
WantedBy=timers.target
Any feedback would be great, thanks.