mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #2425
df322ddd
utils: systemd: dir for pidfile with permissions (redfish)
This commit is contained in:
commit
4c58b7edb8
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@ After=network.target
|
||||||
User=monero
|
User=monero
|
||||||
Group=monero
|
Group=monero
|
||||||
WorkingDirectory=~
|
WorkingDirectory=~
|
||||||
|
RuntimeDirectory=monero
|
||||||
|
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/monerod.pid
|
PIDFile=/run/monero/monerod.pid
|
||||||
|
|
||||||
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
|
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
|
||||||
--detach --pidfile /var/run/monerod.pid
|
--detach --pidfile /run/monero/monerod.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue