No registered users in community xowiki
in last 10 minutes
in last 10 minutes
daemontools starting using systemd instead of inittab OpenSUSE 12
How to use systemd instead of inittab to start svscanboot from daemontools.1. As root create a file in /etc/systemd/system/ called daemontools.service and paste the following lines into it and save the file.
[Unit]
Description=daemontools Start supervise
After=getty.target
[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/command/svscanboot /dev/ttyS0
TimeoutSec=0
[Install]
WantedBy=multi-user.target
2. Start the service using the following command (as root).
root%> systemctl start daemontools.service
3. Test if the service is running.
root%> systemctl status daemontools.service