diff options
author | Martin Ashby <martin@ashbysoft.com> | 2022-12-30 01:07:37 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2022-12-30 01:07:37 +0000 |
commit | 03d6d8f15825811bddf368732c22fc6a705a9d32 (patch) | |
tree | ef202fc4bde7b5750d7f4018a6b08ac4f46c5908 /comments | |
parent | 671f850c4fb72941c111edb6dff1030839b0dd55 (diff) | |
download | mfashby.net-03d6d8f15825811bddf368732c22fc6a705a9d32.tar.gz mfashby.net-03d6d8f15825811bddf368732c22fc6a705a9d32.tar.bz2 mfashby.net-03d6d8f15825811bddf368732c22fc6a705a9d32.tar.xz mfashby.net-03d6d8f15825811bddf368732c22fc6a705a9d32.zip |
update refresh script and add systemd file for comments service
Diffstat (limited to 'comments')
-rw-r--r-- | comments/comments.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/comments/comments.service b/comments/comments.service new file mode 100644 index 0000000..b511915 --- /dev/null +++ b/comments/comments.service @@ -0,0 +1,12 @@ +[Unit] +Description=Comments service +After=postgres.service + +[Service] +User=comments +ExecStart=/usr/local/bin/comments +Restart=on-failure +Environment="DATABASE_URL=postgres:///comments" + +[Install] +WantedBy=multi-user.target |