You are not logged in.

#1 2014-05-05 16:42:59

spoony1971
Member
Registered: 2011-11-09
Posts: 9

systemd is very annoying -- how can I disable timers for updatedb etc?

I deleted /usr/bib/systemd/system/multi-user.target.wants/updatedb.timer and touched the file to prevent its recreation after an update.
But the updatedb job kept running still. BTW, I have no job in /etc/anacrontab.

Now I delete /usr/bib/systemd/system/updatedb.timer and /usr/bib/systemd/system/updatedb.service and symbol link them to /dev/null. I do not know whether it will work or not yet.

The design philosophy for systemd seems broken. Why would many packages create lots of services and timer files and most of them are just one command line?  the systemd timer functionality is already provided by cron perfectly. 
If we disable some targets by removing, A package update will restore them.  So the only way is to leave empty stubs there. Isn't it cumbersome?

Any suggestion?

Thanks.

Last edited by spoony1971 (2014-05-05 16:51:08)

Offline

#2 2014-05-05 16:55:07

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: systemd is very annoying -- how can I disable timers for updatedb etc?

see https://mailman.archlinux.org/pipermail … 26044.html

And timers are enable/disabled/stated/stopped the same way as systemd service files.

This also does not belong is community contributions.

Last edited by SolarBoyMatt (2014-05-05 16:58:54)

Offline

#3 2014-05-05 17:00:02

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: systemd is very annoying -- how can I disable timers for updatedb etc?

spoony1971, use an appropriate sub-forum to post your threads. Do not post willy nilly into any thing you click first.

Community Contribs is not a place to post questions and is reserved for something that you develop and want to share with the Arch community. You have been here long enough to know the difference and the forum rules.

Moving to NC...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB