Re: why does my systemd-services not work? (dbmail-imapd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 16, 2011 at 01:49:32PM +0200, Reindl Harald wrote:
> below my "dbmail-imapd.service"
> i will send a copy to the dbmail-mailing-list
> 
> some minutes ago dbmail-imapd <defunct> was in ps aux
> i am not sure what here happens, finally systedm shoots the service down
> PIDFile is given and /etc/init.d-scripts used this too
> 
> 
> [root@testserver:/lib/systemd/system]$ cat dbmail-imapd.service
> [Unit]
> Description=DBMail IMAP Server
> After=syslog.target mysqld.service local-fs.target network.target
> 
> [Service]
> Type=forking
> PIDFile=/var/run/dbmail-imapd.pid
> ExecStart=/usr/sbin/dbmail-imapd
> 
> [Install]
> WantedBy=multi-user.target
> 

  I succeeded with following:

[Service]
ExecStart=/usr/sbin/dbmail-imapd -D


  So, without Type (default to simple), without explicit PIDFile and with 
daemon running in foreground.

-- 
Tomasz Torcz               "Never underestimate the bandwidth of a station
xmpp: zdzichubg@xxxxxxxxx    wagon filled with backup tapes." -- Jim Gray

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux