diff options
Diffstat (limited to 'systemd/update-hosts.service')
| -rwxr-xr-x | systemd/update-hosts.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/systemd/update-hosts.service b/systemd/update-hosts.service new file mode 100755 index 0000000..2aa6111 --- /dev/null +++ b/systemd/update-hosts.service @@ -0,0 +1,10 @@ +[Unit] +Description=updates /etc/hosts with my custom hosts +Requires=network-connected.target +After=multi-user.target network-connected.target + +[Service] +Type=simple +#ExecStartPre=/bin/sleep 45 +ExecStart=sudo /usr/local/bin/update_hosts +User=root |
