about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-01T02·36+0100
committertazjin <mail@tazj.in>2020-08-01T02·46+0000
commit1fe4a47aa29e3d522160b34aa60d5458ad54916b (patch)
treecdfaa71fcf4b16afe78b522d7fa2d3a952d8cccc /ops/nixos
parentc29f60a350f1f6eb728b718fdfad028f7158780f (diff)
fix(ops/paroxysm): Ensure paroxysm is started on boot r/1518
Change-Id: Iba6557cbf4e0001277bd996df59318b4308fc92e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1510
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/paroxysm.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/paroxysm.nix b/ops/nixos/paroxysm.nix
index faf61f77a07d..949bfe6ecee0 100644
--- a/ops/nixos/paroxysm.nix
+++ b/ops/nixos/paroxysm.nix
@@ -10,6 +10,7 @@ in {
     systemd.services.paroxysm = {
       inherit description;
       script = "${config.depot.fun.paroxysm}/bin/paroxysm";
+      wantedBy = [ "multi-user.target" ];
 
       environment = {
         PARX_DATABASE_URL = "postgresql://tvldb:tvldb@localhost/tvldb";