aboutsummaryrefslogtreecommitdiff
path: root/modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-18 15:30:02 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-02-18 19:30:39 +0100
commit159df176f990fd1f819efcfd431677b78f367697 (patch)
tree51c7e2c7b2bafb475a07934caba6076490ecf29b /modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb
parent1dca26e507d12b9a38e8740e2c310c8bee4e173c (diff)
downloadPuppet-159df176f990fd1f819efcfd431677b78f367697.tar.gz
Puppet-159df176f990fd1f819efcfd431677b78f367697.tar.zst
Puppet-159df176f990fd1f819efcfd431677b78f367697.zip
Install and configure api and assets
Diffstat (limited to 'modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb')
-rw-r--r--modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb b/modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb
new file mode 100644
index 0000000..a521c0e
--- /dev/null
+++ b/modules/role/templates/cryptoportfolio/cryptoportfolio-app.service.erb
@@ -0,0 +1,14 @@
1[Unit]
2Description=Cryptoportfolio app
3
4[Service]
5Type=simple
6
7WorkingDirectory=<%= @cf_front_app_api_workdir %>
8User=<%= @cf_user %>
9Group=<%= @cf_group %>
10UMask=007
11
12ExecStart=<%= @cf_front_app_api_bin %> -conf <%= @cf_front_app_api_conf %>
13
14Restart=on-failure