note 127692 added to class.gearmanworker
| From: | szhvoj at gmail!com | Date: | Mon, 03 Oct 2022 20:11:57 +0000 |
| Subject: | note 127692 added to class.gearmanworker | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219641@lists.php.net to get a copy of this message | ||
Use systemd for managing this process:
---- 8< ---- /lib/systemd/system/gearman-worker.service
[Unit]
Description=My own gearman worker
[Service]
ExecStart=/usr/bin/php /var/www/my-worker.php
Restart=always
[Install]
WantedBy=multi-user.target
---- >8 ---- /lib/systemd/system/gearman-worker.service
systemctl daemon-reload
systemctl enable gearman-worker
systemctl start gearman-worker
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.173 (proxied: 37.131.185.55)
----
Manual Page -- https://php.net/manual/en/class.gearmanworker.php
Edit -- https://main.php.net/note/edit/127692
Del: integrated -- https://main.php.net/note/delete/127692/integrated
Del: useless -- https://main.php.net/note/delete/127692/useless
Del: bad code -- https://main.php.net/note/delete/127692/bad+code
Del: spam -- https://main.php.net/note/delete/127692/spam
Del: non-english -- https://main.php.net/note/delete/127692/non-english
Del: in docs -- https://main.php.net/note/delete/127692/in+docs
Del: other reasons-- https://main.php.net/note/delete/127692
Reject -- https://main.php.net/note/reject/127692
Search -- https://main.php.net/manage/user-notes.php