Add "restart" option to command line

On my Linux system (Mint+Cinnamon) the system tray icon sometimes goes missing. Not often but too often I guess. A tad annoying. Only way to get it back is to quit and start again, so I CLI insync quit, and insync start and all is good. You’d save me a step and please my sense of completeness and pedantry if like most daemons you simply supported a “restart” command as well.

Hi @Bernd_Wechner, may I confirm what the exact installer was that you downloaded? :slight_smile: And may I know your current distro?

Current distro is easy:

$ inxi -F
System:    Host: bigfoot Kernel: 4.4.0-124-generic x86_64 (64 bit) Desktop: Cinnamon 3.2.7
           Distro: Linux Mint 18.1 Serena
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: MAXIMUS VII HERO v: Rev 1.xx
           Bios: American Megatrends v: 2401 date: 02/24/2015
CPU:       Quad core Intel Core i7-4790 (-HT-MCP-) cache: 8192 KB 
           clock speeds: max: 4000 MHz 1: 3624 MHz 2: 3600 MHz 3: 3610 MHz 4: 3613 MHz 5: 3601 MHz
           6: 3602 MHz 7: 3600 MHz 8: 3589 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Desktop GLX Version: 3.0 Mesa 17.2.8
Audio:     Card-1 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller driver: snd_hda_intel
           Card-2 Intel 9 Series Family HD Audio Controller driver: snd_hda_intel
           Card-3 Logitech G930 driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.4.0-124-generic
Network:   Card: Intel Ethernet Connection (2) I218-V driver: e1000e
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: 08:62:66:4a:31:5b
Drives:    HDD Total Size: 3688.8GB (76.8% used) ID-1: /dev/sda model: KINGSTON_SV300S3 size: 240.1GB
           ID-2: /dev/sdb model: SAMSUNG_SSD_830 size: 128.0GB
           ID-3: /dev/sdc model: WDC_WD10EACS size: 1000.2GB
           ID-4: /dev/sdd model: Maxtor_6V320F0 size: 320.1GB
           ID-5: /dev/sde model: WDC_WD20EARX size: 2000.4GB
Partition: ID-1: / size: 118G used: 54G (49%) fs: ext4 dev: /dev/sdb1
           ID-2: /home size: 294G used: 183G (66%) fs: ext4 dev: /dev/sdd1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 355 Uptime: 5 days Memory: 12542.6/32050.8MB Client: Shell (bash) inxi: 2.2.35 

What I downloaded is long lost in the mists of time ;-). But:

$ insync --version
1.4.5.37069