linux - 将项目添加到启动脚本并以特定用户身份运行?

标签 linux bash shell startup

如何将一个项目添加到linux的启动序列中。我希望它成为/最后/加载的东西,并且我希望它作为某个用户运行,我将如何实现这一点?

最佳答案

我不知道这里是否允许链接到其他网站,但我发现本教程非常有用。它涉及您未指定的所有主要发行版。

https://www.linux.com/news/enterprise/systems-management/8116-an-introduction-to-services-runlevels-and-rcd-scripts

尝试向我们提供有关您的系统的更多信息。

关于linux - 将项目添加到启动脚本并以特定用户身份运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9844858/

相关文章:

linux - Bash 中的 FFMPEG - 为 "movie"过滤器指定的输入过多

bash - 错误 : Shell script returns unary operator is expected error message

linux - 使用/dev/fb0而不是root,写入显存

python - AWS 弹性 BeanStalk "eb init"错误

linux - REPL控制台应用服务

bash - 使用 Bash 将文本文件的最后 n 行移动到顶部

bash - 删除目录中所有文件名中最后一个带括号的字符串

linux - Cygwin 狂欢 : read file word by word

mongodb - 读取 MongoDB 结果并在 SH shell 脚本中使用来创建符号链接(symbolic link)

linux - 检查 bash 中的正确列