github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/packager/templates/el/el8/server.service (about)

     1  [Unit]
     2  Description=The Choria Orchestrator Server
     3  After=network.target
     4  
     5  [Service]
     6  EnvironmentFile=/etc/sysconfig/{{cpkg_name}}-server
     7  User=root
     8  Group=root
     9  ExecStart=/bin/sh -c "${COMMAND_PREFIX} {{cpkg_bindir}}/{{cpkg_name}} server --config={{cpkg_etcdir}}/server.conf"
    10  KillMode=process
    11  Restart=on-failure
    12  RestartSec=5s
    13  
    14  [Install]
    15  WantedBy=multi-user.target