Artix Linux Forum

Init systems => dinit => Topic started by: vaapicon on 04 December 2021, 20:43:27

Title: hwclock-dinit service file contains two command properties
Post by: vaapicon on 04 December 2021, 20:43:27
The service file contains two command properties, but only runs the second one on start.

Code: [Select]
command    = /etc/dinit.d/scripts/hwclock start
command    = /etc/dinit.d/scripts/hwclock stop

The "dinit-service" man page lists "stop-command" as the property for stopping
Shouldn't it be?
 
Code: [Select]
command       = /etc/dinit.d/scripts/hwclock start
stop-command  = /etc/dinit.d/scripts/hwclock stop

Thanks for adding "dinit" to Artixlinux. I'm really liking it.
Title: Re: hwclock-dinit service file contains two command properties
Post by: konimex on 05 December 2021, 04:21:25
Yep. Should've been stop-command. Whoops. Nice catch. Currently pushing the new one.