summaryrefslogtreecommitdiffstats
path: root/teamdraft.service
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-07-16 18:16:29 -0700
committersadbeast <sadbeast@sadbeast.com>2024-10-05 16:40:55 -0700
commit6bd24af2ffbea91db1b10a5d5258980ce2068c7f (patch)
tree66634833f2d45260be5fcaf9111400eda12f03cc /teamdraft.service
downloadteamdraft-6bd24af2ffbea91db1b10a5d5258980ce2068c7f.tar.gz
teamdraft-6bd24af2ffbea91db1b10a5d5258980ce2068c7f.tar.bz2
let's goHEADmain
Diffstat (limited to 'teamdraft.service')
-rw-r--r--teamdraft.service17
1 files changed, 17 insertions, 0 deletions
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