diff options
Diffstat (limited to 'teamdraft.service')
-rw-r--r-- | teamdraft.service | 17 |
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 |