I used the following config to start beanstalkd
process
[Service]
ExecStart=/usr/local/bin/beanstalkd
ExecStartPost=pgrep beanstalkd > /var/run/beanstalkd.pid
The last line is supposed to generate a pidfile after the process in launched, but the file is not created. why ?
Or is there another way to force pidfile creation in systemd
?