Browse Source

service start

merge-requests/73/head
Steven Foerster 6 years ago
parent
commit
7a711ac5da
  1. 1
      scripts/services/Mistborn-raspap.service

1
scripts/services/Mistborn-raspap.service

@ -10,6 +10,7 @@ Group=docker
PermissionsStartOnly=true PermissionsStartOnly=true
# Shutdown container (if running) when unit is stopped # Shutdown container (if running) when unit is stopped
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/raspap.yml down ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/raspap.yml down
ExecStartPre=/bin/bash /opt/mistborn_volumes/extra/raspap/etc-raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
# Start container when unit is started # Start container when unit is started
ExecStart=/usr/local/bin/docker-compose -f /opt/mistborn/extra/raspap.yml up --build ExecStart=/usr/local/bin/docker-compose -f /opt/mistborn/extra/raspap.yml up --build

Loading…
Cancel
Save