QNAP NAS SSH Service Commands

I use several QNAP devices from the large 24 drive down to a personal 2 drive. I’ve found that they are pretty good and you can do a lot with them as they’re basically Linux boxes with a pretty web interface.

Here are some useful console commands for restarting specific services.

First, to restart basically everything you can issue this command:

/etc/init.d/services.sh restart

One of the most common ones is to restart smb:

/etc/init.d/smb.sh restart

Here’s a list of other common ones: (They’re all in /etc/init.d)
I believe they will all accept the restart option. They will accept start/stop options.

QMediaService.sh
Qthttpd.sh
StartMediaService.sh
bonjour.sh
crond.sh
ftp.sh
mysqld.sh
network.sh
opentftp.sh
qsyncman.sh
rsyncRR.sh
rsyncd.sh
rsyncd_srv.sh
rsyslog.sh
samba4.sh
services.sh
timemachine.sh
vpn_openvpn.sh
vpn_pptp.sh
webalizer.sh
Advertisements

Author: Helicopter Jeff

I'm a vinyl decal cutting and designing, RC helicopter pilot along with boats & planes, Arduino and Raspberry Pi hardware/software developer, network, scripting and troubleshooting ninja living in the metro NY area. I am passionate about my hobbies so much I do them for a living. There's nothing better than getting paid to do what you love.

5 thoughts on “QNAP NAS SSH Service Commands”

  1. I rebooted my NAS recently which is a chore as it’s providing an iscsi volume to an esxi 5.5 box. After the reboot all services came up except for the web interface.
    restarting all the services as described resolved this issue. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s