惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
罗磊的独立博客
SecWiki News
SecWiki News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
IT之家
IT之家
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Vercel News
Vercel News
G
GRAHAM CLULEY
D
DataBreaches.Net
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
T
Tenable Blog
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - Franky
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
U
Unit 42
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
B
Blog
腾讯CDC

Alpine Linux

Alpine 3.23 发布了 AlpineLinux 3.19 发布了 Why AlpineLinux - V2EX 在 iOS 上安装了 iSH,大家有什么推荐的玩法吗? - V2EX AlpineLinux 3.12 发布 - V2EX alpine Linux 跑 docker? Docker 容器中基于 Alpine Linux 镜像, kill 命令不起作用? - V2EX 有牛人么? alpine 改用 networkmanager 问题。 docker 的 alpine 不支持 i18n,对 Java 后端开发有啥影响吗? - V2EX Alpine Linux 如何安装 Google TCP-BRR 加速? - V2EX 既然 alpine 体积这么小,为什么其它软件官方镜像不把它作为基础镜像? - V2EX 在用 alpine 构建一个运行静态编译的 nginx 的 docker 镜像时遇到的用户问题 - V2EX 小型系统,用 alpine Linux 真真是极好的。 - V2EX 分享两份自己用的 alpine-php-fpm 的 Dockerfile - V2EX Alpine Linux 大法好!这个没有 GNU, Systemd 和其他莫名的系统,这个简洁、基于脚本的系统,在我折腾 Linux 一年时,让我真正体验到 Unix 系统的精神和原理。 - V2EX
请教 alpine 大牛如何在 alpine 使用 curl 安装 caddy,并添加服务到自启动 - V2EX
alpinefly · 2019-12-05 · via Alpine Linux

这是一个创建于 2383 天前的主题,其中的信息可能已经有所发展或是发生改变。

初学 alpine,感觉很有效率。想安装 caddy,但是 apk 模式安装的 caddy 缺少插件,所有使用 curl 方式安装,但是怎么启动 caddy 和添加到自启动就不会啦,请教大牛如何实现,谢谢!

Kylinsun

1

Kylinsun      2019 年 12 月 5 日

supervisord 配置常驻进程

alpinefly

3

alpinefly      2019 年 12 月 5 日

@ganymedenil590 非常感谢,已经搞好了,谢谢大牛。也谢谢 @Kylinsun
贴一下代码:
touch /etc/local.d/caddy.start
cat <<EOF > /etc/local.d/caddy.start
nohup /usr/local/bin/caddy -conf /usr/local/bin/Caddyfile
EOF
chmod +x /etc/local.d/caddy.start
rc-update add local

alpinefly

5

alpinefly      2019 年 12 月 16 日

更细一下,建议 nohup /usr/local/bin/caddy -conf /usr/local/bin/Caddyfile &