commented out systemd service

This commit is contained in:
Bryan Ramos 2024-05-14 23:49:09 -04:00
parent 304782797a
commit a31e48b69b
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8

View file

@ -45,28 +45,28 @@ in
};
systemd.services.electrs = {
Unit = {
Description = "Electrs Bitcoin Indexer";
After = [ "network.target" "bitcoind.service" ];
Requires = [ "bitcoind.service" ];
};
Service = {
ExecStartPre = "${pkgs.coreutils}/sleep 10";
ExecStart = "${pkgs.electrs}/bin/electrs --conf=${conf}";
#systemd.services.electrs = {
# Unit = {
# Description = "Electrs Bitcoin Indexer";
# After = [ "network.target" "bitcoind.service" ];
# Requires = [ "bitcoind.service" ];
# };
# Service = {
# ExecStartPre = "${pkgs.coreutils}/sleep 10";
# ExecStart = "${pkgs.electrs}/bin/electrs --conf=${conf}";
User = "electrs";
Group = "bitcoin";
# User = "electrs";
# Group = "bitcoin";
Type = "simple";
KillMode = "process";
TimeoutSec = 60;
Restart = "always";
RestartSec = 60;
};
Install = {
WantedBy = [ "multi-user.target" ];
};
};
# Type = "simple";
# KillMode = "process";
# TimeoutSec = 60;
# Restart = "always";
# RestartSec = 60;
# };
# Install = {
# WantedBy = [ "multi-user.target" ];
# };
#};
};
}