services

 
💡
Notion Tip: Use this template to codify the process around a feature launch.
你可以创建这样的文件
vim /etc/systemd/system/gost.service
然后文件填写
[Unit]
Description=gost server

[Service]
ExecStart=/root/gost -L tls://:xxx
Restart=Always

[Install]
WantedBy=multi-user.target
然后systemctl enable gost.service就行了
gost.service可以改成任何名称,也可以不同人用不通的名称和进程,这样也方便管理