github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/scripts/systemd/yuhaiin.service (about) 1 [Unit] 2 Description=yuhaiin 3 Requires= 4 5 [Service] 6 ExecStart=yuhaiin 7 Restart=always 8 RestartSec=30 9 # StandardOutput=append:/tmp/yuhaiin/logs/log1.log 10 # StandardError=append:/tmp/yuhaiin/logs/log2.log 11 Slice=yuhaiin.slice 12 13 [Install] 14 Also= 15 WantedBy=default.target