[Unit] Description = yz-gotty After = ssh.service [Service] Type = simple WorkingDirectory = /yuzhen_iot/prod_manage/app ExecStart = /yuzhen_iot/prod_manage/app/gotty --config=/yuzhen_iot/prod_manage/cfg/gotty.conf /yuzhen_iot/prod_manage/app/plumber StartLimitIntervalSec=0 Restart=always RestartSec=1 [Install] WantedBy = multi-user.target