I want to add a service to my Artix linux system, which is a Arch Linux drivate with OpenRC as init system.
Consider the systemd service
[Unit]
Description=sets battery thresholds
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/tpacpi-bat -s ST 0 40
ExecStart=/usr/bin/tpacpi-bat -s SP 0 80
ExecStop=/usr/bin/tpacpi-bat -s ST 0 0
ExecStop=/usr/bin/tpacpi-bat -s SP 0 0
[Install]
WantedBy=multi-user.target
how do I convert this into openrc and should it placed so that can add it via rc-service {service-name} start
?