We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d1b6f commit 124054eCopy full SHA for 124054e
assets/setup-web.sh
@@ -4,3 +4,5 @@ cp /tmp/assets/webapp /usr/local/bin/
4
chmod +x /usr/local/bin/*
5
cp /tmp/assets/webapp.service /lib/systemd/system/webapp.service
6
service webapp start
7
+systemctl enable webapp
8
+
assets/webapp.service
@@ -1,8 +1,12 @@
1
+[Install]
2
+WantedBy=multi-user.target
3
[Unit]
Description=Demo web app
[Service]
ExecStart=/usr/local/bin/webapp >> /var/log/webapp.log
9
IgnoreSIGPIPE=false
10
KillMode=process
11
+Restart=on-failure
12
0 commit comments