github.com/swiftstack/ProxyFS@v0.0.0-20210203235616-4017c267d62f/saio/usr/lib/systemd/system/pfsagentd.service (about)

     1  [Unit]
     2  Description=PFSAgent service
     3  After=proxyfsd.service
     4  
     5  [Service]
     6  Environment=PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/vagrant/bin
     7  Environment=GOTRACEBACK=crash
     8  LimitCORE=infinity
     9  ExecStart=/vagrant/bin/pfsagentd /vagrant/src/github.com/swiftstack/ProxyFS/pfsagentd/pfsagent.conf
    10  ExecReload=/usr/bin/kill -HUP $MAINPID
    11  
    12  Restart=always
    13  # Send stopping SIGTERM (and later SIGKILL if necessary) to the main process
    14  # only.  This prevents systemd from interfering with backends processing
    15  # requests after the parent process has been sent a SIGHUP by the ExecReload.
    16  KillMode=process
    17  
    18  
    19  [Install]
    20  WantedBy=multi-user.target