github.com/swiftstack/proxyfs@v0.0.0-20201223034610-5434d919416e/cookbooks/proxyfs/files/default/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 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/pfsagentd /etc/pfsagentd/pfsagent.conf Agent.FUSEMountPointPath=/mnt/pfsa_proxyfs_mount 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 WantedBy=multi-user.target