@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.
@@ -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 /var/run/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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@profullstack/threatcrush",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "description": "All-in-one security agent daemon — monitor, detect, scan, and protect servers in real-time",
5
5
  "bin": {
6
6
  "threatcrush": "./dist/index.js"