FS#30129 - [lm_sensors] Missing systemd unit for fancontrol

Attached to Project: Arch Linux
Opened by Andreas (Evilandi666) - Sunday, 03 June 2012, 20:28 GMT
Last edited by Eric Belanger (Snowman) - Monday, 04 June 2012, 02:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The package ships a systemd unit file for sensors, but not for fancontrol.

I think the file should look something like:
/usr/lib/systemd/system/fancontrol.service:
[Unit]
Description=Start fancontrol
After=syslog.target

[Service]
EnvironmentFile=/etc/fancontrol
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/fancontrol -D &>/dev/null

[Install]
WantedBy=multi-user.target

This is not tested(can't test it right now), I just combined /usr/lib/systemd/system/lm_sensors.service and /etc/rc.d/fancontrol.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 04 June 2012, 02:09 GMT
Reason for closing:  Not a bug
Additional comments about closing:  File included in systemd-arch-units
Comment by Andreas (Evilandi666) - Sunday, 03 June 2012, 23:06 GMT
I did not install systemd-arch-units, sry. for bothering, it is there.
Can someone close/delete?

Loading...