Merge pull request #2425

df322ddd utils: systemd: dir for pidfile with permissions (redfish)
This commit is contained in:
Riccardo Spagni 2017-09-25 16:46:08 +02:00
commit 4c58b7edb8
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -6,12 +6,13 @@ After=network.target
User=monero
Group=monero
WorkingDirectory=~
RuntimeDirectory=monero
Type=forking
PIDFile=/var/run/monerod.pid
PIDFile=/run/monero/monerod.pid
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf \
--detach --pidfile /var/run/monerod.pid
--detach --pidfile /run/monero/monerod.pid
[Install]
WantedBy=multi-user.target