File: dns-clean.service

package info (click to toggle)
pppconfig 2.3.21
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,464 kB
  • ctags: 82
  • sloc: perl: 1,462; sh: 152; makefile: 65
file content (17 lines) | stat: -rw-r--r-- 428 bytes parent folder | download
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 /var/run/pppconfig
ExecStart=/etc/ppp/ip-down.d/0dns-down "0dns-clean"

[Install]
WantedBy=multi-user.target