Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add systemd service #7

Merged
merged 1 commit into from
Mar 1, 2021
Merged

add systemd service #7

merged 1 commit into from
Mar 1, 2021

Conversation

xbclub
Copy link
Contributor

@xbclub xbclub commented Mar 1, 2021

添加 systemd脚本

  • anylink 程序目录放入 /usr/local/anylink-deploy

systemd 脚本放入:

  • centos: /usr/lib/systemd/system/
  • ubuntu: /lib/systemd/system/

操作命令:

  • 启动: systemctl start anylink
  • 停止: systemctl stop anylink
  • 开机自启: systemctl enable anylink

@bjdgyc bjdgyc merged commit dd1eae5 into bjdgyc:main Mar 1, 2021
@bjdgyc
Copy link
Owner

bjdgyc commented Mar 1, 2021

最好把使用文档,写入 systemd 目录内

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants