应用管理

查看所有安装的应用

1
2
cd /volume1/@appstore
ll

关闭/卸载程序

Universal Search

卸载程序
通过 SSH 登录并执行以下命令:

1
2
3
4
5
6
# 切换至root用户
sudo -i

# 卸载 SynoFinder
synopkg uninstall SynoFinder

暂时停用
如果只是需要暂时性的停用程序,可以执行(重启后程序会再次启用):

1
2
3
4
5
6
7

# DSM 6+
synoservice --disable pkgctl-SynoFinder

# DSM 7+
synosystemctl disable pkgctl-SynoFinder
# 重启后程序会再次启用,可以将上面这行命令添加到任务计划程序,以便在每次重新启动时执行。需要用root账户执行脚本

synosystemctl 常用命令

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
start [--no-block] NAME...              Start (activate) one or more units
stop [--no-block] NAME... Stop (deactivate) one or more units
enable NAME... Enable one or more unit files
disable NAME... Disable one or more unit files
restart [--no-block] NAME... Start or restart one or more units
try-restart [--no-block] NAME... Restart one or more units if active
reload [--no-block] NAME... Reload one or more units
reload-or-restart [--no-block] NAME... Reload or restart one or more units
reenable NAME... Reenable one or more unit files
isolate [--no-block] NAME... Start one unit and stop all others
mask [--runtime] NAME... Mask one or more units
unmask [--runtime] NAME... Unmask one or more units
uninstall NAME Remove units from system, as well as relating symlinks and flags
daemon-reload Reload unit config
get-default Get the name of the default target
set-default NAME Set the default target
get-enable-status NAME Get the enable status of given unit
get-active-status NAME Get the active status of given unit
get-load-status NAME Get the load status of given unit
stop-service-by-reason REASON NAME... Stop one or more services by a reason
start-service-by-reason REASON NAME... Start one or more services by a reason
remove-service-reason REASON NAME... Remove reason for one or more services
list-service-reason NAME List service reason
get-unit-by-pid PID Get unit name that the pid belongs to
list-service-by-mnt-path PATH List services using given mount path
register-volume NAME VOLUME Register a volume for a unit
package-register-volume NAME VOLUME Register a volume for a package
unregister-volume NAME VOLUME Unregister a volume for a unit
package-unregister-volume NAME VOLUME Unregister a volume for a package

功能设置

照片同步

1
2
3
rsync -a '/volume1/homes/kewen/Photos/MobileBackup/OnePlus 10 Pro/DCIM/Camera' '/volume1/photo/family/kewen'

rsync -a '/volume1/homes/wenxiaomiao/Photos/MobileBackup/Galaxy S21 5G/DCIM/Camera' '/volume1/photo/family/wenxiaomiao'