There are some occasions where controlling your Synology’s services via the command line is just necessary. Here are the main commands for doing this and the package list for some of the most used DSM apps.
Note that you need elevated permissions to issue these commands, use sudo -i for simplicity.
synoservicecfg --list
synoservice --status
synoservicecfg --stop <service>
synoservicecfg --hard-stop <service>
synoservicecfg --start <service>
synoservicecfg --hard-start <service>
synoservice --restart <service>
synoservicectl --restart <service>
For example, this will restart WebStation altogether:
synoservice --restart pkgctl-WebStation
or Docker:
synoservice --restart pkgctl-Docker
DSM apparmor atalk avahi bluetoothd bonjour btacd crond cups-lpd cupsd dbus dc-output ddns findhost ftpd ftpd-ssl gcpd heartbeat hotplugd iscsitrg ldap-server miniupnpd-handler natpmpd nfsd nginx nmbd nslcd ntpd-client ntpd-server pgsql pkgctl-Apache2.4 pkgctl-AudioStation pkgctl-CMS pkgctl-CloudSync pkgctl-DNSServer pkgctl-Docker pkgctl-DownloadStation pkgctl-FileStation pkgctl-Git pkgctl-HyperBackup pkgctl-Java8 pkgctl-LogCenter pkgctl-MariaDB pkgctl-MariaDB10 pkgctl-Node.js_v4 pkgctl-PEAR pkgctl-PHP5.6 pkgctl-PHP7.0 pkgctl-Plex Media Server pkgctl-StorageAnalyzer pkgctl-TextEditor pkgctl-VPNCenter pkgctl-WebStation pkgctl-adminer pkgctl-domoticz pkgctl-filebot pkgctl-filebot-node pkgctl-git pkgctl-python pkgctl-sickrage pppoerelay rsyncd s2s_daemon samba scemd sftp snmp ssdp ssh-shell support-remote-access synoagentregisterd synobackupd synocacheclient synocachepinfiletool synocgid synoconfd synocontentextractd synocrond synogpoclient synoindexd synologrotate synomkflvd synomkthumbd synomount synoovs-db synoovs-vswitch synoperfeventd synorelayd synosnmpcd synostoraged synotifyd synotunnel synovpnclient synowifid syslog-acc syslog-ng syslog-notify system telnetd tftp upnpd ups-net ups-usb usbipd winbindd
If you have a Synology DiskStation and you have shared your public NAS link on…
Ubuntu initial setup does not do expand the virtual disk image to it's full size.…
A common issue that appeared with DSM 7 is that some well known containers started…
The Windows Sandbox image is useful for many test setups, but it lacks much of…
If you're used to Snip & Sketch for adding some scribbles placed over desktop screenshots,…
On some occasions Microsoft 365 Office applications might open a popup with "Contacting server for…