summarylogtreecommitdiffstats
path: root/netchangexec@.service
blob: 267375cb0f839aaf9ed1f12395624c0bfe431a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=run command when network connection changes.
Wants=network-online.target
After=network-online.target

[Service]
Environment="SCRIPT_ARGS=%I"
ExecStart=/usr/bin/netchangexec $SCRIPT_ARGS
Restart=on-failure
RestartSec=5

[Install]
WantedBy=default.target