github.com/swiftstack/proxyfs@v0.0.0-20201223034610-5434d919416e/cookbooks/proxyfs/files/default/usr/lib/systemd/system/proxyfsd.service (about)

     1  [Unit]
     2  Description=Swift ProxyFS service
     3  
     4  [Service]
     5  Environment=NSS_SDB_USE_CACHE=YES
     6  Environment=PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin
     7  # Set GOTRACEBACK=1 to prevent core dumps to be created
     8  # Set GOTRACEBACK=crash to allow core dumps to be created
     9  Environment=GOTRACEBACK=1
    10  LimitCORE=0
    11  ExecStart=/usr/bin/proxyfsd /etc/proxyfsd/saioproxyfsd0.conf
    12  ExecReload=/usr/bin/kill -HUP $MAINPID
    13  
    14  Restart=always
    15  # Send stopping SIGTERM (and later SIGKILL if necessary) to the main process
    16  # only.  This prevents systemd from interfering with backends processing
    17  # requests after the parent process has been sent a SIGHUP by the ExecReload.
    18  KillMode=process
    19  
    20  
    21  [Install]
    22  # Don't consider our failure a boot failure
    23  WantedBy=multi-user.target smb.service pfsagent.service