Skip to main content

All Questions

Tagged with
1 vote
0 answers
279 views

systemd dbus service continuously updates system time

I am trying to set my centos vm's date to 1 months prior date for some license validation, for that I have disabled systemd-timesyncd and ntpd service but still after setting the time to -32 days the ...
Aamir Shaikh's user avatar
2 votes
1 answer
329 views

Systemd service fired by a timer doesn't always execute its program

We have a server running a bunch of cron jobs which we wanted to move to systemd timers. In the process of creating the .service and .timer files, I came across this bug on CentOS (which we are using)....
Tasos Stamadianos's user avatar
2 votes
0 answers
587 views

Set systemd timer to an odd and specific number of days

I'm using systemd.timers on CentOS 7 server and have a timer set to automatically renew Certbot-managed Let's Encrypt website certificate. autorenewal.service: [Unit] Description=certbot certificate ...
Anvbis's user avatar
  • 21
2 votes
2 answers
10k views

How to run systemctl command inside ExecStart?

I am trying to restart all the stale sqlrelay connection services using systemd.timer. Systemd service looks like this: [Unit] Description=sqlrelay-state-connection-restart [Service] Type=oneshot ...
Jayabalan Bala's user avatar
0 votes
1 answer
4k views

Use systemd-shutdownd schedule

I have multiple Redhat & CentOS 7 servers that are used only during working hours. I am looking into using the systemd-shutdownd service to shut down each machine at 6-30pm on workdays. Systemd ...
Hussain Akbar's user avatar