@profullstack/threatcrush 0.11.6 → 0.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/daemon.js +56 -40
- package/dist/daemon.js.map +1 -1
- package/dist/index.js +283 -265
- package/dist/index.js.map +1 -1
- package/dist/systemd/threatcrushd.service +7 -1
- package/package.json +1 -1
|
@@ -17,7 +17,13 @@ TimeoutStopSec=10
|
|
|
17
17
|
NoNewPrivileges=true
|
|
18
18
|
ProtectSystem=full
|
|
19
19
|
ProtectHome=read-only
|
|
20
|
-
ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush
|
|
20
|
+
ReadWritePaths=/etc/threatcrush /var/log/threatcrush /var/lib/threatcrush
|
|
21
|
+
# /var/run is a symlink to /run, which is a tmpfs — anything created there at
|
|
22
|
+
# install time is gone after the next reboot. Listing it under ReadWritePaths
|
|
23
|
+
# then makes the unit fail 226/NAMESPACE on every start. RuntimeDirectory has
|
|
24
|
+
# systemd create (and clean up) /run/threatcrush itself, on each start.
|
|
25
|
+
RuntimeDirectory=threatcrush
|
|
26
|
+
RuntimeDirectoryMode=0755
|
|
21
27
|
PrivateTmp=true
|
|
22
28
|
|
|
23
29
|
# Log directly to journald
|
package/package.json
CHANGED