Commit Graph

11 Commits

Author SHA1 Message Date
wowario 6afdd7894a
add systemd file 2024-03-09 15:58:09 +03:00
selsta 14eb42d12d
systemd: remove outdated torsocks example 2022-02-08 19:49:00 +01:00
Nathan Dorfman d3e7c5a8ba systemd: Don't use Type=forking 2020-09-08 11:16:43 -06:00
Age Bosma 71693f06a1 systemd: Make sure required folders exist
The default monero.conf file depends on the existence of the folders `/var/log/monero/` and `/var/lib/monero/`.
This change makes sure systemd will create them, together with the proper permissions, if they don't exist.
`StateDirectory` can be considered an extra safety in case the user `monero` happens to have been created with specifying `/var/lib/monero/` as a home folder but without actually creating it.
2020-05-06 14:57:47 +02:00
redfish fcb180f590 systemd,readme: torsocks config for service 2018-03-10 12:17:14 -05:00
ston1th 6d900a40d9 removed systemd private tempdir 2018-02-23 21:28:08 +01:00
0xB44EFD8751077F97 d73d7aca86
Add two configuration options to monerod.service:
Restart=always
    PrivateTmp=true
2017-11-16 11:58:18 -07:00
redfish df322ddde5 utils: systemd: dir for pidfile with permissions
monerod runs as user monero which does not have write
permissions for /var/run. Use systemd's RuntimeDirectory
feature to handle this.
2017-09-10 14:41:08 -04:00
Erik de Castro Lopo 2fac03e682 Update monerod systemd service file
Make monerod use a PID file and let systemd know where that file is.
2017-07-22 08:34:56 +10:00
Riccardo Spagni 9a525e0d20
rename systemd bits to monero 2016-09-03 21:44:00 +02:00
redfish cf6654c178 contrib: example systemd service and config file
Including in light of #977
2016-08-26 18:57:53 -04:00