summaryrefslogtreecommitdiff
path: root/net-p2p/p2pool/files/p2pool.service
blob: 3e447c33c654f52059e1facf603762abb24a6e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[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