We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
systemd.service
1 parent 0acdf8c commit 37dea13Copy full SHA for 37dea13
systemd.service
@@ -1,16 +1,14 @@
1
[Unit]
2
-Description=hipanel.VENDOR.com service in Docker container
3
-Requires=docker.service
4
-Requires=nginx-proxy-REAL_IP.service
5
-After=nginx-proxy-REAL_IP.service
+Description={HOST} service in Docker container
+Requires=nginx-proxy-{REAL_IP}.service
+After=nginx-proxy-{REAL_IP}.service
6
7
[Service]
8
Type=simple
9
-WorkingDirectory=/home/sol/prj/VENDOR/hipanel.VENDOR.com
+WorkingDirectory={DIR}
10
Restart=always
11
ExecStart=/usr/local/bin/docker-compose up
12
ExecStop=/usr/local/bin/docker-compose stop
13
14
[Install]
15
-WantedBy=multi-user.target
16
-WantedBy=nginx-proxy-REAL_IP.service
+WantedBy=nginx-proxy-{REAL_IP}.service
0 commit comments