File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 3
3
# I paired this up with aws system checks, In case of failed system check I applied the restart policy. So your system never goes
4
4
# out for more than 2 minutes even in case of seve crashes.
5
5
6
- # /etc/systemd/system/docker-compose-app .service
6
+ # /etc/systemd/system/marsplay .service
7
7
8
8
[Unit]
9
9
Description =Docker Compose Application Service
@@ -20,4 +20,11 @@ StartLimitIntervalSec=60
20
20
StartLimitBurst =3
21
21
22
22
[Install]
23
- WantedBy =multi-user.target
23
+ WantedBy =multi-user.target
24
+
25
+
26
+ # After doing this generate a soft link
27
+ # instead of creating a soft link manuall, save this file (marsplay.service), and instruct systemd to create a soft link
28
+ # call sudo systemctl enable marsplay.service
29
+ # Enable basically creates a configuration file in the conf.d directory where all startup files are stored. So when the system reboots you
30
+ # can be sure that this file will be run by systemd
You can’t perform that action at this time.
0 commit comments