File: dns-clean.service

package info (click to toggle)
pppconfig 2.3.30
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,480 kB
  • sloc: perl: 1,462; sh: 151; makefile: 58
file content (17 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Clean up any mess left by 0dns-up

DefaultDependencies=false
Before=network-manager.service systemd-networkd.service networking.service resolvconf.service
After=local-fs.target
Requires=local-fs.target

ConditionPathExists=/etc/ppp/ip-down.d/0dns-down

[Service]
Type=oneshot
ExecStartPre=/bin/mkdir -p /var/run/pppconfig
ExecStart=/etc/ppp/ip-down.d/0dns-down "0dns-clean"

[Install]
WantedBy=multi-user.target