FS#66730 - [gitlab] systemd timer uses incorrect WantedBy=multi-user.target

Attached to Project: Community Packages
Opened by Nils (nlswrnr) - Thursday, 21 May 2020, 08:51 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 21 May 2020, 18:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

While for system timers it is technically possible to use a

[Install]
WantedBy=multi-user.target

section, the correct way is to use

[Install]
WantedBy=timers.target

Steps to Reproduce:

Look at gitlab-backup.timer, it uses the wrong WantedBy

Steps to Fix:

Simply replace

[Install]
WantedBy=multi-user.target

with

[Install]
WantedBy=timers.target

Additional info:

* package version(s): 12.10.4-2
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 21 May 2020, 18:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  SVN rev 631482
Comment by Nils (nlswrnr) - Thursday, 21 May 2020, 08:52 GMT
Patch attached
Comment by Anatol Pomozov (anatolik) - Thursday, 21 May 2020, 18:06 GMT
Thank you very much. This suggestion makes sense. It got merged to SVN repo as rev 631482.

Loading...