8
8
9
9
Keep track of your internet connection with a daemon
10
10
11
- * [ GitHub] ( https://github.com/PlexSheep/netpulse )
12
- * [ crates.io] ( https://crates.io/crates/netpulse )
13
- * [ docs.rs] ( https://docs.rs/crate/netpulse/ )
11
+ - [ GitHub] ( https://github.com/PlexSheep/netpulse )
12
+ - [ crates.io] ( https://crates.io/crates/netpulse )
13
+ - [ docs.rs] ( https://docs.rs/crate/netpulse/ )
14
14
15
15
## Why?
16
16
@@ -42,14 +42,7 @@ your system shuts down. Root privileges are required for starting and setup,
42
42
but privileges will be dropped to the user ` netpulse ` with the group
43
43
` netpulse ` .
44
44
45
- Therefore, you need to create a user ` netpulse ` on your system to use the
46
- daemon:
47
-
48
- ``` bash
49
- useradd -r -s /usr/sbin/nologin netpulse
50
- ```
51
-
52
- To set everything up, including a systemd unit file and copying the ` netpulsed `
45
+ To set everything up, including a systemd unit file, a user, and copying the ` netpulsed `
53
46
executable to ` /usr/local/bin/ ` , do the following:
54
47
55
48
``` bash
@@ -71,10 +64,10 @@ and analyze the store.
71
64
72
65
` netpulsed ` will try to create a few directories / files:
73
66
74
- * ` /run/netpulse/netpulse.pid ` – lockfile with the PID of the daemon to make sure it doesn't run multiple times
75
- * ` /var/lib/netpulse/netpuse.store ` – the database where your checks are stored
76
- * ` /var/log/netpulse.log ` – contains the stdout of the daemon
77
- * ` /var/log/netpulse.err ` – contains the stderr of the daemon
67
+ - ` /run/netpulse/netpulse.pid ` – lockfile with the PID of the daemon to make sure it doesn't run multiple times
68
+ - ` /var/lib/netpulse/netpuse.store ` – the database where your checks are stored
69
+ - ` /var/log/netpulse.log ` – contains the stdout of the daemon
70
+ - ` /var/log/netpulse.err ` – contains the stderr of the daemon
78
71
79
72
### Targets
80
73
0 commit comments