Skip to content

Commit

Permalink
fix: cannot start smart mirror service
Browse files Browse the repository at this point in the history
用户不存在导致服务无法启动
  • Loading branch information
zsien committed Oct 21, 2024
1 parent 434a8ce commit 1f2af9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ endif

override_dh_installsystemd:
dh_installsystemd -r --no-restart-after-upgrade --no-start

execute_after_dh_installinit:
dh_installsysusers
4 changes: 2 additions & 2 deletions lib/systemd/system/lastore-smartmirror-daemon.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ After=dbus.socket
[Service]
Type=dbus
BusName=org.deepin.dde.Lastore1.Smartmirror
User=deepin-daemon
User=lastore-daemon
ExecStart=/usr/libexec/lastore-daemon/lastore-smartmirror-daemon
StandardOutput=null
StandardError=journal
Expand Down Expand Up @@ -36,4 +36,4 @@ RestrictRealtime=yes
RemoveIPC=yes
# 和golang -pie参数冲突,导致进程无法启动
#MemoryDenyWriteExecute=yes
#MemoryLimit=100M
#MemoryLimit=100M

0 comments on commit 1f2af9e

Please sign in to comment.