You are not logged in.

#1 2022-07-30 15:52:43

Candalija
Member
Registered: 2022-07-28
Posts: 5

Reflector service

Hello, to create a reflector service so that it runs every time an Internet connection is started, you would have to create a configuration file in /etc/systemd/system/reflector.service and then enable it or in /etc/xdg/reflector/reflector/reflector.conf and then enable it. I don't know exactly if the latter is only for services at startup or just the difference between the two files.
Thanks.

Offline

#2 2022-07-30 20:01:55

boarim
Member
From: France
Registered: 2022-05-28
Posts: 8
Website

Re: Reflector service

You don’t need to create a service file. The reflector package already comes with one (in /usr/lib/systemd/system/reflector.service). This is the one you need to enable if you want to start reflector on startup.

This service file reads the configuration at /etc/xdg/reflector/reflector.conf each times it starts. So, you need to adapt it to your needs to tune reflector’s behavior.

For more information, you should read the wiki page.


Simplicity is the ultimate sophistication. — Leonardo da Vinci (1452–1519)

Offline

#3 2022-07-30 20:17:30

seth
Member
Registered: 2012-09-03
Posts: 32,129

Re: Reflector service

every time an Internet connection is started

And how do you "start" network connections?
NetworkManager?
https://wiki.archlinux.org/title/Networ … dispatcher

Offline

Board footer

Powered by FluxBB