Skip to content

Commit a8afd35

Browse files
authored
Merge pull request #2 from zerotier/systemd-units
Contributed systemd units for later packaging
2 parents 991dbad + 79e96c0 commit a8afd35

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Unit]
2+
Description=Update zerotier per-interface DNS settings
3+
Wants=zerotier-systemd-manager.timer zerotier-one.service
4+
5+
[Service]
6+
Type=oneshot
7+
ExecStart=/usr/bin/zerotier-systemd-manager
8+
9+
[Install]
10+
WantedBy=multi-user.target
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description=Update zerotier per-interface DNS settings
3+
Requires=zerotier-systemd-manager.service
4+
5+
[Timer]
6+
Unit=zerotier-systemd-manager.service
7+
OnStartupSec=60
8+
OnUnitInactiveSec=60
9+
Persistent=true
10+
11+
[Install]
12+
WantedBy=timers.target

0 commit comments

Comments
 (0)