alist icon indicating copy to clipboard operation
alist copied to clipboard

在一键安装脚本里面的 systemd 加入restart on failure?

Open acyanbird opened this issue 2 years ago • 2 comments

Please make sure of the following things

  • [X] I have read the documentation.
  • [X] I'm sure there are no duplicate issues or discussions.
  • [X] I'm sure this feature is not implemented.
  • [X] I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

因为在实际安装的时候,这个很有用所以自己加入了,我想应该可以让初始设置就是这样? [Service] Restart=on-failure

不清楚会不会有不好的影响,但是考虑一下?感谢各位~

Suggested solution / 实现思路

修改 https://alist.nn.ci/v3.sh 处的 systemd 配置

Additional context / 附件

No response

acyanbird avatar Feb 13 '23 15:02 acyanbird

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Feb 13 '23 15:02 welcome[bot]

我使用一键脚本升级到 v3.12.0 ,debian 重启后不会自动开启 alist 服务。 之前使用的版本是可以自重启的。而且新版本隔几个小时就会 exit

SkysCrystal avatar Feb 25 '23 01:02 SkysCrystal

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 10 '23 08:04 stale[bot]

This issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

stale[bot] avatar Apr 18 '23 09:04 stale[bot]