Miscellaneous DiskStation Stuff¶
Probably all outdated.
Diskstation Firmware Services¶
Several services are started on the Diskstation by default. This is a list of the services I found on my CS-406 firmware 426. Most of them I do not need. I deactivated them moving the start scripts from /usr/syno/etc.defaults/rc.d to /usr/syno/etc.defaults/rc.off.
| Script | Removed? | Comment |
|---|---|---|
| S02cardreader.sh | yes | Copyright (c) 2000-2006 Synology Inc. All rights reserved. This daemon would keep polling USB disk in order to trigger hotplug events. |
| S03bootup.sh | no | Runs /usr/syno/bin/synocheckvolume, /usr/syno/bin/synocheckshare and /usr/syno/bin/synobootup |
| S03inetd.sh | no | Runs /usr/sbin/inetd |
| S04crond.sh | yes | Starts the cron daemon (/usr/sbin/crond). Needed for Time, Net Backup and maybe other functionality. |
| S09DDNS.sh | yes | Starts Ez-Internet (/usr/syno/sbin/ddnsd) if supportddns is set to yes in /etc.defaults/synoinfo.conf. |
| S10UPnPportmap.sh | yes | Runs /usr/syno/sbin/upnpd if supportportmapping is set to yes in /etc.defaults/synoinfo.conf. |
| S20pgsql.sh | yes | Starts the PostgreSQL database. Needed for the Photo Station and the Multimedia Service. |
| S21mysql.sh | yes | Starts the MySQL database if enabled under Web Service (or via key runmysql in /etc/synoinfo.conf. |
| S25download.sh | yes | Starts the Download Service if support_download is set to yes in /etc.defaults/synoinfo.conf and if enabled under Download Service. |
| S30hotplug.sh | no | Starts hotplug subsystem (for USB devices and such). |
| S55lpd.sh | yes | Starts the printing service (/usr/syno/sbin/lpd). |
| S66synoindexd.sh | yes | Starts the Multimedia Service indexing daemon (/usr/syno/sbin/synoindexd) if supportmediaservice is set to yes in /etc.defaults/synoinfo.conf and if enabled under Multimedia Service. |
| S77synomkthumbd.sh | yes | Starts the Photo Station thumbnail creating service (/usr/syno/bin/synomkthumd). |
| S78JumboFrame.sh | yes | Sets MTU to configured value if the network is running at 1000 Mbit (via /sbin/ifconfig eth0 mtu XXXXX). |
| S79RCPower.sh | yes | Unclear. Maybe UPS monitoring service. |
| S80samba.sh | yes | Starts Shared Folders server for Windows clients (Samba) (/usr/syno/sbin/smbd and /usr/syno/sbin/nmbd). Also starts /usr/syno/sbin/winbindd if a domain has been set. The «Syno-Samba» is crap in firmware 426. Replaced with Samba from Optware. |
| S81atalk.sh | yes | Starts Shared Folders server for Macintoshs (Apple Talk) (/usr/syno/etc/rc.atalk). |
| S84rsyncd.sh | yes | Starts Network Backup server (/usr/syno/bin/rsync) if enabled under Network Backup. |
| S85synonetbkpd.sh | yes | Starts Network Backup client (/usr/syno/bin/synonetbkpd) if configured under Network Backup. |
| S86synodms.sh | yes | Starts the Multimedia Service (/usr/syno/sbin/dms) if supportmediaservice is set to yes in /etc.defaults/synoinfo.conf and if enabled under Multimedia Service. |
| S95sshd.sh | yes | Starts an ssh daemon if supportssh is set to yes in /etc.defaults/synoinfo.conf. |
| S97apache-sys.sh | no | Starts the web admin interface (Apache, /usr/syno/apache/bin/httpd using the config file /usr/syno/apache/conf/httpd.conf-sys). |
| S97apache-user.sh | yes | Starts the Web Service (Apache, /usr/syno/apache/bin/httpd using the config file /usr/syno/apache/conf/httpd.conf and /usr/syno/etc/php.ini) if enabled under Web Service. |
| S98findhostd.sh | yes | Starts /usr/syno/bin/findhostd. Unclear what it does. I think it announces the DS to other DS (e.g. for Network Backup). |
| S99ftpd.sh | yes | Starts the FTP Service (/usr/syno/etc.defaults/rc.ftpd) if enabled under FTP Service. |
| S99zbootok.sh | no | Writes STEP=4 to /tmp/boot_seq.tmp. Probably to signal the bloody scemd or so to stop blinking the blue (power) LED. |
Personal comment: Some of these start scripts are really ugly. One could write many things in a much more elegant way.
created: 2008-04-03, updated: 2015-09-16