summaryrefslogblamecommitdiff
path: root/net-p2p/p2pool/files/p2pool.service
blob: 3e447c33c654f52059e1facf603762abb24a6e60 (plain) (tree)























                                                                     
[Unit]
Description=p2pool daemon
After=network-online.target monerod.service
Wants=network-online.target monerod.service
Requires=p2pool@%i.socket

[Service]
User=%p
Group=%p
WorkingDirectory=~
RuntimeDirectory=%p/%i

Type=exec
ExecStart=/usr/bin/p2pool --wallet %i --data-api %t/%p/%i --local-api
Sockets=p2pool@%i.socket

StandardInput=socket
StandardOutput=journal
StandardError=journal

Restart=always

[Install]
WantedBy=multi-user.target