Restart should, generally, do the same thing as stop+start, but it doesn't for sockets. This is for systemd v208, but I don't think anything in master would have substantially changed this particular behavior. [root@david-onebox-f19 system]# systemctl status -n0 php_fpm_0af635c858dc467caeed99ec2c263ec9.socket php_fpm_0af635c858dc467caeed99ec2c263ec9.service php_fpm_0af635c858dc467caeed99ec2c263ec9.socket Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.socket; enabled) Active: active (listening) since Fri 2014-02-14 02:15:14 UTC; 5 days ago Listen: /srv/bindings/0af635c858dc467caeed99ec2c263ec9/run/php-fpm.sock (Stream) php_fpm_0af635c858dc467caeed99ec2c263ec9.service - PHP-FPM server for site=7025a5db-f6ee-4b2f-bfbb-47e421df93e8 environment=dev binding=0af635c858dc467caeed99ec2c263ec9 Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.service; disabled) Active: inactive (dead) [root@david-onebox-f19 system]# systemctl restart php_fpm_0af635c858dc467caeed99ec2c263ec9.socket [root@david-onebox-f19 system]# systemctl status -n0 php_fpm_0af635c858dc467caeed99ec2c263ec9.socket php_fpm_0af635c858dc467caeed99ec2c263ec9.service php_fpm_0af635c858dc467caeed99ec2c263ec9.socket Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.socket; enabled) Active: active (running) since Wed 2014-02-19 08:00:22 UTC; 1s ago Listen: /srv/bindings/0af635c858dc467caeed99ec2c263ec9/run/php-fpm.sock (Stream) php_fpm_0af635c858dc467caeed99ec2c263ec9.service - PHP-FPM server for site=7025a5db-f6ee-4b2f-bfbb-47e421df93e8 environment=dev binding=0af635c858dc467caeed99ec2c263ec9 Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.service; disabled) Active: active (running) since Wed 2014-02-19 08:00:23 UTC; 882ms ago Process: 21081 ExecStartPre=/srv/bin/ensure_valhalla_symlink.py 0af635c858dc467caeed99ec2c263ec9 code/sites/default/files (code=exited, status=0/SUCCESS) Main PID: 21084 (php-fpm) CGroup: /system.slice/php_fpm_0af635c858dc467caeed99ec2c263ec9.service └─21084 /opt/php-5.3/php-fpm --fpm-config=/srv/bindings/0af635c858dc467caeed99ec2c263ec9/php-fpm.conf --php-ini=/srv/bindings/0af635c858dc467caeed99ec2c263ec9/php... [root@david-onebox-f19 system]# systemctl stop php_fpm_0af635c858dc467caeed99ec2c263ec9.socket php_fpm_0af635c858dc467caeed99ec2c263ec9.service You have new mail in /var/spool/mail/root [root@david-onebox-f19 system]# systemctl start php_fpm_0af635c858dc467caeed99ec2c263ec9.socket [root@david-onebox-f19 system]# systemctl status -n0 php_fpm_0af635c858dc467caeed99ec2c263ec9.socket php_fpm_0af635c858dc467caeed99ec2c263ec9.service php_fpm_0af635c858dc467caeed99ec2c263ec9.socket Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.socket; enabled) Active: active (listening) since Wed 2014-02-19 08:02:25 UTC; 2s ago Listen: /srv/bindings/0af635c858dc467caeed99ec2c263ec9/run/php-fpm.sock (Stream) php_fpm_0af635c858dc467caeed99ec2c263ec9.service - PHP-FPM server for site=7025a5db-f6ee-4b2f-bfbb-47e421df93e8 environment=dev binding=0af635c858dc467caeed99ec2c263ec9 Loaded: loaded (/etc/systemd/system/php_fpm_0af635c858dc467caeed99ec2c263ec9.service; disabled) Active: inactive (dead) since Wed 2014-02-19 08:02:14 UTC; 13s ago Process: 21084 ExecStart=/opt/php-5.3/php-fpm --fpm-config=/srv/bindings/0af635c858dc467caeed99ec2c263ec9/php-fpm.conf --php-ini=/srv/bindings/0af635c858dc467caeed99ec2c263ec9/php53.ini (code=exited, status=0/SUCCESS) Process: 21081 ExecStartPre=/srv/bin/ensure_valhalla_symlink.py 0af635c858dc467caeed99ec2c263ec9 code/sites/default/files (code=exited, status=0/SUCCESS) Main PID: 21084 (code=exited, status=0/SUCCESS)
To be more explicit without requiring a reading of my console logs, restart also starts the corresponding service, not just the socket.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.