Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
deepin-anything (7.0.37) unstable; urgency=medium

* fix: Disable ProtectHome to check mount info

-- wangrong <wangrong@uniontech.com> Tue, 20 Jan 2026 10:45:03 +0800

deepin-anything (7.0.36) unstable; urgency=medium

* fix: Fix sw64 gcc not support pie by default
Expand Down
6 changes: 4 additions & 2 deletions src/daemon/deepin-anything-daemon.service
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[Unit]
Description=Deepin anything daemon service
After=udisks2.service
# The time window is 3600 seconds (60 minutes)
StartLimitIntervalSec=3600
# A maximum of 2 starts are allowed within this window.
StartLimitBurst=2

[Service]
ExecStart=/usr/libexec/deepin-anything-daemon
Restart=on-failure
RestartSec=30
StartLimitIntervalSec=3600 # The time window is 3600 seconds (60 minutes)
StartLimitBurst=2 # A maximum of 2 starts are allowed within this window.
MemoryHigh=2G
MemoryMax=3G

Expand Down
3 changes: 2 additions & 1 deletion src/server/deepin-anything-server.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ NoNewPrivileges=true
OOMScoreAdjust=-500
Nice=-5
ProtectSystem=full
ProtectHome=true
# need to check the actual mount info
# ProtectHome=true
InaccessiblePaths=-/etc/shadow
InaccessiblePaths=-/etc/pam.d/
InaccessiblePaths=-/etc/NetworkManager/system-connections/
Expand Down