From 6bd24af2ffbea91db1b10a5d5258980ce2068c7f Mon Sep 17 00:00:00 2001 From: sadbeast Date: Tue, 16 Jul 2024 18:16:29 -0700 Subject: let's go --- teamdraft.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 teamdraft.service (limited to 'teamdraft.service') diff --git a/teamdraft.service b/teamdraft.service new file mode 100644 index 0000000..4137698 --- /dev/null +++ b/teamdraft.service @@ -0,0 +1,17 @@ +[Unit] +Description=Team Draft Website +After=multi-user.target + +[Service] +ExecStart=sops exec-env /home/teamdraft/production.secrets.yaml /home/teamdraft/teamdraft +WorkingDirectory=/home/teamdraft +EnvironmentFile=/home/teamdraft/production.env +User=teamdraft +Group=teamdraft +Type=simple +StandardOutput=journal +StandardError=journal +SyslogIdentifier=teamdraft + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3