After= and Wants= doesn't seem to have an effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


I got a case were After= and Wants= doesn't seem to have an effect for the opticsd.service.

./info.log.1:2021-12-17T21:30:02.684+00:00  [ INFO    ] systemd[1]: Starting Iris detection...
./info.log.1:2021-12-17T21:30:02.884+00:00  [ INFO    ] systemd[1]: Starting Wiper power manager...
./info.log.1:2021-12-17T21:30:02.886+00:00  [ INFO    ] systemd[1]: Starting Optics daemon...
./info.log.1:2021-12-17T21:30:02.888+00:00  [ INFO    ] systemd[1]: Started Optics daemon.
./info.log.1:2021-12-17T21:30:02.890+00:00  [ INFO    ] systemd[1]: Started Wiper power manager.
./info.log.1:2021-12-17T21:30:02.890+00:00  [ INFO    ] systemd[1]: Starting Temperature controller...
./info.log.1:2021-12-17T21:30:02.895+00:00  [ INFO    ] systemd[1]: Started Temperature controller.



# /usr/lib/systemd/system/coco-wiper-manager.service

[Unit]
Description=Wiper power manager
Before=temperature-controller.service wiper-service.service
...
[Install]
WantedBy=temperature-controller.service wiper-service.service

# /etc/systemd/system/opticsd.service
[Unit]
Description=Optics daemon
...
After=iris-detection.service
Wants=iris-detection.service
After=temperature-controller.service
Wants=temperature-controller.service
...
[Install]
WantedBy=multi-user.target

# /etc/systemd/system/iris-detection.service
[Unit]
Description=Iris detection
PartOf=opticsd.service

# /usr/lib/systemd/system/wiper-service.service
[Unit]
Description=Wiper Service
Wants=temperature-controller.service
After=temperature-controller.service

# /usr/lib/systemd/system/temperature-controller.service
[Unit]
Description=Temperature controller
...
After=iris-detection.service
Wants=iris-detection.service

Is it possible that After= is ignored, even if Wants= is specified?

Best Regards,

Christopher Wong


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux