mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-07 11:32:16 +00:00
b5934: Remove old comments and wantedBy.
This commit is contained in:
1 parent
1a40d9fa53
commit
27f7df4897
1 file changed
+2
-3
+2
-3
@@ -3,11 +3,10 @@ Description=Removes welcome.conf.
|
||||
Requires=-.mount network-online.target
|
||||
After=-.mount network-online.target
|
||||
Before=httpd.service get-latest-httpd-conf.service
|
||||
# Staring before means no "systemctl start httpd" is needed.
|
||||
[Install]
|
||||
RequiredBy=multi-user.target
|
||||
WantedBy=httpd.service get-latest-httpd-conf.service
|
||||
WantedBy=httpd.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/bin/bash -c "cd /etc/httpd; if [[ -e conf.d/welcome.conf ]]; then rm -f conf.d/welcome.conf; fi"
|
||||
ExecStart=/bin/bash -c "cd /etc/httpd; [[ -e conf.d/welcome.conf ]] && rm -f conf.d/welcome.conf"
|
||||
Reference in new issue
Block a user