6ed0c434b3
Why I did it Some platforms need to run few steps before the PDDF service is actually started. * Adding pre_pddf_init script in the service file * Raising exception for get_target_speed() for PSU-fan in PDDF (#8129)
15 lines
325 B
Desktop File
15 lines
325 B
Desktop File
[Unit]
|
|
Description=PDDF module and device initialization service
|
|
Before=pmon.service
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStartPre=-/usr/local/bin/pre_pddf_init.sh
|
|
ExecStart=/usr/local/bin/pddf_util.py install
|
|
ExecStop=/usr/local/bin/pddf_util.py clean
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|