diff options
Diffstat (limited to 'cmd/ansible/cryptoportfolio-app.j2')
-rw-r--r-- | cmd/ansible/cryptoportfolio-app.j2 | 13 |
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] | ||
2 | Description=Cryptoportfolio app | ||
3 | |||
4 | [Service] | ||
5 | Type=simple | ||
6 | |||
7 | User={{ app_user }} | ||
8 | Group={{ app_user }} | ||
9 | UMask=007 | ||
10 | |||
11 | ExecStart=/usr/bin/cryptoportfolio-app -conf /var/cryptoportfolio-app/conf.toml | ||
12 | |||
13 | Restart=on-failure | ||