summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-29 23:50:46 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-08-29 23:50:46 +0200
commit988f4af12803e4111a2fcc4c9dfa4cfbdf7aad7e (patch)
treed0cf644b2304119759a8f1ae1913b8455c4426e9
parentAdded root perms check (diff)
downloadtrackless-988f4af12803e4111a2fcc4c9dfa4cfbdf7aad7e.tar.gz
trackless-988f4af12803e4111a2fcc4c9dfa4cfbdf7aad7e.tar.bz2
trackless-988f4af12803e4111a2fcc4c9dfa4cfbdf7aad7e.zip
Fixed service file
-rw-r--r--trackless.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/trackless.service b/trackless.service
index c572b9e..edb4528 100644
--- a/trackless.service
+++ b/trackless.service
@@ -1,13 +1,14 @@
 [Unit]
 Description=Change network interfaces mac to a random address.
-Wants=network-pre.target
-Before=network-pre.target
+Wants=network.target
+Before=network.target
 BindsTo=sys-subsystem-net-devices-wlan0.device
 After=sys-subsystem-net-devices-wlan0.device
 
 [Service]
 Type=oneshot
 ExecStart=/usr/bin/trackless
+RemainAfterExit=yes
 
 [Install]
 WantedBy=multi-user.target