aboutsummaryrefslogtreecommitdiff
path: root/cmd/ansible/cryptoportfolio-app.j2
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ansible/cryptoportfolio-app.j2')
-rw-r--r--cmd/ansible/cryptoportfolio-app.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/ansible/cryptoportfolio-app.j2 b/cmd/ansible/cryptoportfolio-app.j2
new file mode 100644
index 0000000..40979d6
--- /dev/null
+++ b/cmd/ansible/cryptoportfolio-app.j2
@@ -0,0 +1,13 @@
1[Unit]
2Description=Cryptoportfolio app
3
4[Service]
5Type=simple
6
7User={{ app_user }}
8Group={{ app_user }}
9UMask=007
10
11ExecStart=/usr/bin/cryptoportfolio-app -conf /var/cryptoportfolio-app/conf.toml
12
13Restart=on-failure