tuto3: import samples feeds into miniflux

This commit is contained in:
nemunaire 2020-04-07 19:53:57 +02:00
parent 259375f316
commit c44b17b4fd
1 changed files with 12 additions and 0 deletions

View File

@ -246,6 +246,10 @@ files:
source: pkg/wg/ask.sh
mode: "0755"
- path: /root/feeds.opml
source: feeds.opml
mode: "0444"
- path: etc/ssh/sshd_config
source: pkg/nsd/sshd_config
mode: "0644"
@ -423,6 +427,14 @@ files:
exit 0
mode: "0555"
- path: /etc/init.d/999-import-feeds.sh
contents: |
#!/bin/sh
sleep 20
nsenter -t $(pgrep systemd | head -1) -a curl -s -u adeline:adlin2021 -d @- http://172.23.42.6:8080/v1/import < /root/feeds.opml 2> /dev/null > /dev/null
exit 0
mode: "0555"
- path: etc/issue.adlin
source: pkg/debian-tuto3/issue
mode: "0444"