#!/sbin/openrc-run

# This service allows running LACT with Artix Linux OpenRC.
# Place it under /etc/init.d and make it executable.
# Run
# # rc-update add lact-daemon-openrc 
# # rc-service lact-daemon-openrc start

supervisor=supervise-daemon
command="lact"
command_args="daemon"

depend() {
    need localmount

    after bootmisc consolefont modules netmount
    after ypbind autofs openvpn gpm lircmd
    after quota keymaps
    before alsasound
    want logind

    provide lactd lact-daemon
}
