summarylogtreecommitdiffstats
path: root/remove-github520-hosts.service
blob: ce0f15d916f0486176b1a0d9c40d5a397212fd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Remove GitHub520 Hosts File
After=network.target

[Service]
User=root
PermissionsStartOnly=true
ExecStart=/bin/bash -c 'sed -i "/# GitHub520 Host Start/,/# GitHub520 Host End/d" /etc/hosts'

[Install]
WantedBy=default.target