summaryrefslogtreecommitdiff
path: root/systemd/update-hosts.service
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2026-04-29 01:00:18 -0400
committerGitHub <noreply@github.com>2026-04-29 01:00:18 -0400
commitfe210355a480b2386a05ba385aa5a265c4f7c966 (patch)
treeed10fcc4dd1153d983164bff9523f594b4d63ff8 /systemd/update-hosts.service
parente757d3020571cb139d9480f97e1b0fa86222660e (diff)
parent00a8a558aa2984401728c5027cf054b9d7a97b6f (diff)
Merge pull request #1 from grothedev/copilot/clean-up-and-organize-repomaster
Clean up top-level repo layout and document the script inventory
Diffstat (limited to 'systemd/update-hosts.service')
-rwxr-xr-xsystemd/update-hosts.service10
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