~nromdotcom/gemif

0ff198c9226ce4f63f11d9b3a2287730003c1748 — Norm MacLennan 11 months ago 82bb8de
Update systemd unit file to always restart
1 files changed, 2 insertions(+), 5 deletions(-)

M infra/user_data/install_gemif.sh
M infra/user_data/install_gemif.sh => infra/user_data/install_gemif.sh +2 -5
@@ 11,16 11,13 @@ After=network.target
Type=simple
User=ec2-user
Group=ec2-user
LimitNOFILE=1024

Restart=on-failure
RestartSec=10
Restart=always
RestartSec=10s

WorkingDirectory=/home/ec2-user/gemif
ExecStart=/home/ec2-user/gemif/gemif

PermissionsStartOnly=true

[Install]
WantedBy=multi-user.target
EOF