cat 发表于 2018-11-17 | 分类于 Linux , Command Usage12345678910111213141516171819cat >> /etc/systemd/system/mosh.service <<EOF[Unit]Description=Mosh ServiceAfter=network.targetAfter=systemd-user-sessions.serviceAfter=network-online.target[Service]Type=simpleExecStart=/mosh.shTimeoutSec=30Restart=on-failureRestartSec=30StartLimitInterval=350StartLimitBurst=10[Install]WantedBy=multi-user.targetEOF