[Unit] Description=check running sunloginclinet loop Requires=network-online.target After=network-online.target [Service] Type=simple ExecStart=sh -c '/opt/sunlogin/bin/oray_rundaemon -m server >/dev/null 2>&1 & /opt/sunlogin/bin/sunloginclient --mod=service' KillMode=process ExecStop= Restart=always RestartSec=0 [Install] WantedBy=multi-user.target