Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Service doesn't start at boot

    Posted on

    I created a service named fldcd, put the fldcd.service file in /usr/lib/systemd/system, executed systemctl enable fldcd.service, but in /etc/systemd/system there is no the link to the .service file.

    I put the executable and the libraries in /usr/bin/fldc. Added this path in the file /etc/ld.so.conf.d/fldcd.conf.

    This is the .service file:
    **
    [Unit]
    Description=XXXXXXXXX
    After=syslog.target network.target mariadb.target
    Requires=mariadb.service

    [Service]
    Type=forking
    ExecStart=/usr/bin/fldc/fldcd
    Restart=always
    **
    I can start and stop the service but at boot it doesn't start.

    If I remove the after and requires directive, the behavior is the same.

    Could you help me? Thank you.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat