hm: remove services, no way to have services not auto start
This commit is contained in:
parent
d53e01014d
commit
f4e2565099
|
@ -326,51 +326,4 @@
|
|||
"x-scheme-handler/https" = "firefox";
|
||||
"x-scheme-handler/unknown" = "firefox";
|
||||
};
|
||||
|
||||
# Configure custom services
|
||||
systemd.user.services = {
|
||||
palserver = {
|
||||
Unit = { Description = "Palworld Server"; };
|
||||
|
||||
Service = {
|
||||
ExecStart =
|
||||
"/etc/profiles/per-user/wizardlink/bin/fhs -c 'EpicApp=PalServer ./PalServer.sh -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS'";
|
||||
Restart = "always";
|
||||
#RuntimeMaxSec = "4h";
|
||||
Type = "simple";
|
||||
WorkingDirectory = "/mnt/ssd/Games/Steam/steamapps/common/PalServer";
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "default.target" ]; };
|
||||
};
|
||||
|
||||
foundry = {
|
||||
Unit = { Description = "FoundryVTT server"; };
|
||||
|
||||
Service = {
|
||||
ExecStart =
|
||||
"/etc/profiles/per-user/wizardlink/bin/fhs -c 'node ./resources/app/main.js'";
|
||||
Restart = "on-failure";
|
||||
Type = "simple";
|
||||
WorkingDirectory = "/mnt/ssd/Games/FoundryVTT/FoundryProgram";
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "default.target" ]; };
|
||||
};
|
||||
|
||||
veloren = {
|
||||
Unit = { Description = "FoundryVTT server"; };
|
||||
|
||||
Service = {
|
||||
ExecStart =
|
||||
"/etc/profiles/per-user/wizardlink/bin/fhs -c './veloren-server-cli'";
|
||||
Restart = "on-failure";
|
||||
Type = "simple";
|
||||
WorkingDirectory =
|
||||
"/home/wizardlink/.local/share/airshipper/profiles/default";
|
||||
};
|
||||
|
||||
Install = { WantedBy = [ "default.target" ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue