|
|
|
@ -10,7 +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/syncthing.yml down |
|
|
|
ExecStartPre=/usr/local/bin/docker-compose -f /opt/mistborn/extra/syncthing.yml down |
|
|
|
#ExecStartPre=/bin/chown -R --from=root:root root:root /opt/mistborn_volumes/ |
|
|
|
ExecStartPre=/bin/chown -R --from=root:root root:root /opt/mistborn_volumes/ |
|
|
|
ExecStartPre=/sbin/iptables -I DOCKER-USER -i DIFACE -p udp --dport 21027 -j MISTBORN_LOG_DROP |
|
|
|
ExecStartPre=/sbin/iptables -I DOCKER-USER -i DIFACE -p udp --dport 21027 -j MISTBORN_LOG_DROP |
|
|
|
ExecStartPre=/sbin/iptables -I DOCKER-USER -i DIFACE -p tcp --dport 22000 -j MISTBORN_LOG_DROP |
|
|
|
ExecStartPre=/sbin/iptables -I DOCKER-USER -i DIFACE -p tcp --dport 22000 -j MISTBORN_LOG_DROP |
|
|
|
# Start container when unit is started |
|
|
|
# Start container when unit is started |
|
|
|
|